On every Git commit, make sure the message includes the exact issue ID at the beginning of the text. Git Integration Plugin for JIRA will automatically index new commits and associate the referenced issue.

To create a link between your Git commit and a JIRA issue, developers must include the issue key into the commit comment.


Example git commit message:

"GIT-913 - Plugin version change from 2.6.7 to 2.6.8"; where GIT-913 is the issue key that links the commit message to the JIRA issue.

If you want to enforce the commit with a hook, please install this Git commit hook script.