commitizen / cz-jira-smart-commit Goto Github PK
View Code? Open in Web Editor NEWA commitizen adapter for Jira Smart Commits
Home Page: https://confluence.atlassian.com/display/FISHEYE/Using+smart+commits
A commitizen adapter for Jira Smart Commits
Home Page: https://confluence.atlassian.com/display/FISHEYE/Using+smart+commits
I just downloaded Commitizen
and cz-jira-smart-commit
to implement them in our internal projects but I can't seem to get the latter to work.
When I run git cz
I get the correct prompt (i.e. GitHub commit message, Jira Issude Id, Workflow command etc) but after filling them all in no commit is generated and the files remain in staging without being actually committed to the project.
I tried with both packages installed locally and globally but no chance, using any other wrapper (i.e. cz-conventional-changelog
) everything works flawlessy. Any idea what could be causing the JIRA wrapper not to be working correctly?
My .cz.json
looks like the following:
{
"path": "node_modules/cz-jira-smart-commit"
}
Background: Most (not all) of my work has a consistent project for a number of issues at a time, so having to retype it over and over, then add the issue id number can be irritating (especially if the current project has a long ID).
Request: I'm thinking it would be good to have a config option that lets you set the project prefix so all you have to do is type the number of the issue - until you change it. Or if you are working in between projects all day you just leave the config value empty and it asks you to complete the whole thing.
I'll just leave this request here in case someone (or I) can get some work done on this and do a PR.
Thanks!
I'd like to have the time
and workflow
be the absolute last thing in the commit message and if there's no comment, please put it on the first line after the Jira Issue number
Hello,
I am not able to commit with this adapter for commitizen. I have used the cz-conventional-changelog
adapter and that appears to work without issue. We would like to switch to this adapter as we use Jira. Any help would be appreciated.
Versions: [email protected], [email protected]
Private module and repo.
Installed as dev dependency.
cz config path is local: "path": "./node_modules/cz-jira-smart-commit"
Steps to reproduce:
git stage -p
(interactive hunks) or git add .
git cz
Expected: A clean working tree with a commit message based upon prompt responses.
Actual: Dirty working tree that has staged edits and no commit has occured.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.