Add GitHub commits to issue after commit is done

Ellen Sotkowitz December 1, 2013

Suppose a GitHub commit is made but the JIRA issue id was not included in the comments. Is there any other way to link the commit to the JIRA issue?

2 answers

0 votes
Midori
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.
December 14, 2015

You can't do that after you pushed the change, as altering the commit message would break the history of published commits. This is dangerous, and there is no explicit "link this commit to JIRA issue" feature available.

To prevent this sort of problems, use the Commit Policy Plugin and it will never occur again. See this article about implementing commit validation with GitHub.

0 votes
Zul NS _Atlassian_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 1, 2013

Suggest an answer

Log in or Sign up to answer