Close Jira issue via Git commit

Micky picture Micky · Apr 2, 2012 · Viewed 13k times · Source

Does anyone know if it's possible to change the status of a Jira issue using a Git commit? I am using Jira and Git with the Jira Git plugin and I know I can reference an issue by just adding the name in the commit but I thought a commit message like "ISSUE-1 #close" would set the status to closed. But this doesn't seem to work.

Am I doing something wrong or is it not possible to send commands via the commit message?

Answer

Francis Martens picture Francis Martens · Apr 3, 2012

If you have FishEye installed you can use smart commits to trigger various actions from a single commit.