mike_dan
mike_dan

Reputation: 111

How to resolve a JIRA issue from GitHub commit messages?

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?

Upvotes: 10

Views: 10165

Answers (1)

haidarvm
haidarvm

Reputation: 630

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

Upvotes: 12

Related Questions