You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi! How automatically linked Jira issues when making a pull request.? https://prnt.sc/10vatrg
I have made integration with jira https://prnt.sc/10vazyo But still no issues there
Hi, @Bohdan
The easiest way to create a link between a ticket and a pull request is to just set your branch's commit message to have the Jira ticket number be the first thing in the commit.
git commit -am "JIRA-123 this is my commit message"
This will result in a link from this commit/branch to the jira ticket called JIRA-123.
Ok that's the easiest way. Are there other ways?
What if the commit message didn't include the proper ticket number, but I still want to create the link between the issue and the P/R?
So far the only solution I've come up with is creating another commit to the P/R branch simply to mention the ticket number. Kinda awkward.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The full documentation on how development tools are linked to Jira tickets.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This was not very helpful.
The link states the following options for a P/R:
These are all equally non-ideal options. Thankyou for digging up that document. I'll have to impress upon my team the seriousness of getting their commit messages right the first time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't have anything helpful to say about 1 and 3, but 2 is incorrect. You can connect multiple tickets to a single pull request by including all ticket numbers at the start of your commit message:
git commit -am "JIRA-123 JIRA-234 JIRA-345 link multiple tickets"
(It's been a while since I've done this as I'm no longer a dev; you may need to comma-separate the ticket numbers, but I don't think so.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.