Gaurang Shah
Gaurang Shah

Reputation: 12900

Github - creating link to my JIRA issue in commit message

Would someone please let me know if there is any way to create link to JIRA tickets in my github commit messages?

Upvotes: 3

Views: 9559

Answers (1)

VonC
VonC

Reputation: 1323175

You can try and follow "Connect Jira Cloud to GitHub", which allows for GitHub or GitHub Enterprise account to be linked to Jira Software.

Your team gets to see their branches, commit messages and pull requests right in the context of the Jira Software issues they're working on

When a developer makes a commit, they should add a Jira Software issue key to the commit message, like this:

git commit -m "PROJ-123 add a README file to the project."
git push origin <branchname>

Update Oct. 2019, you now can set up an autolink reference and GitHub will automatically create links (to external systems) for you.

See "make Jira links clickable in GitHub" (only for GitHub Pro, Team, and Enterprise plans).

Upvotes: 5

Related Questions