3

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

Gaurang Shah
  • 11,764
  • 9
  • 74
  • 137
  • If you are using GitHub Pro, Team, or Enterprise plans, you have that option. See [my edited answer below](https://stackoverflow.com/a/56896776/6309). – VonC Oct 14 '19 at 20:20

1 Answers1

5

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).

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250