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
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
How can I link an existing branch (created from stash/git, not from JIRA by "Create branch") to a jira issue?
Same thing for a pull request (other than adding a comment with the pull request link...)
the question refers to code you want integrated as resolution for your issue, which has been already developped and reviewed in an existing pull request, cherry picked from another branch, from upstream, etc. with names/ids not related to current issue.
this above mentioned code fixes an issue created in Jira by some other engineer/customer etc.
so how can you make the branches/pull requests not containing the jira id in the names appear in the list of branches/pull requests for the new issue?
Hi @Chris Taormina
Sorry for bother you, but you say you use gitflow and Jira at your job.
How do you handle release versions assigned to a Jira issue?
Here a full question: https://community.atlassian.com/t5/Jira-questions/Setup-Jira-Issues-version-when-using-Gitflow/qaq-p/1167931
Hope you can take the time to review it.
This isn't an answer, but an acknowledgement of the issue in the original post.
In our org, we have the integration working such that if the issue is in the commit comment, then the "Development" section will link to that commit and pull request.
The problem is, if the developer forgets to put the issue in the comment, or misspells it, then the integration doesn't work. There is no way to add references to commits or pull requests after the commit is created. The feature is too limited.
I was just looking at this and I discovered that if you drop the Issue Number from Jira into the Pull Request title then it auto-links issue, PR and branch, so you don't have to redo all the branch naming and whatnot. HTH someone, as it was looking like a pain for me until I did that.