Close a JIRA issue from Bitbucket via git commit

Max Rabin July 17, 2012

I know I can reference a JIRA issue from a git commit which will create bidirectional links between the issue and the commit message. I would like to be able to affect the status of the issue (close it, reopen it, etc.) from a commit just like I can in Bitbucket issues. Is this possible?

2 answers

1 accepted

0 votes
Answer accepted
Max Rabin October 9, 2012
0 votes
Dennis Kromhout van der Meer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 17, 2012

As far as I know the only way you can do this is by creating a commit hook that looks for specific project key numbers and closes them by making a REST API call to JIRA to change the status.

Suggest an answer

Log in or Sign up to answer