A commitizen adapter for Jira smart commits
Install this adapter
npm install cz-jira-smart-commit
Reference it in your .cz.json
of your project
{
"path": "node_modules/cz-jira-smart-commit/"
}
Instead of git commit -m 'Your message'
, you type: git gz
with this adapter and it prompts you for:
- Jira Issue Key(s)
- Time Spent
- Workflow command
- Comment
And generates your commit based on that.