How to resolve a JIRA issue from GitHub commit messages?

github, jira

Solution

Here is what you need to do to enable 'smart commits':

https://confluence.atlassian.com/display/AOD/Enabling+DVCS+smart+commits

Then, the syntax to use in the commit messages:

`<ISSUE_KEY> #<CMD> <optional CMD_PARAMETERS>`

Example:

JRA-123 #resolve

More info on the syntax here:

https://confluence.atlassian.com/display/AOD/Processing+JIRA+issues+with+commit+messages

Problem

I have configured the JIRA bug tracking system with GitHub DVCS. But when I commit the task with message of JIRA key and resolve status, it does not change the status as resolved in JIRA. Is there any command to change the bug status in JIRA from GitHub commit message?

Original source