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,
Any ideas on how to remove the reference to a PR that has no relation to the ticket, automatically detected though?
So looks like another method used for the auto-detect, is reading comments under the jira ticket?
How can we remove that?
Also, slightly related thread here
Short of unlinking the entire repo from within Jira, you can't do this from Jira's side. Instead I'd recommend going to the source of the pull request/commit/branch and trying to make the change there. This would typically be Bitbucket, Github, or whatever tool you use to track development work.
We have a feature request that seeks to improve this behavior from Jira's side over in JSWCLOUD-21855.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ryota,
I understand that you have a pull request appearing on a Jira issue that is not related to that issue. Jira is only able to make such pull requests appear on a Jira issue when the Jira issuekey appears in the pull request title or comment.
If you can edit the pull request to change and remove that Jira issuekey from it, then yes you can get Jira to remove this kind of link. However there is no other feasible way to remove this manually from Jira. Jira isn't manually creating any such links, all of these for pull requests, commits, branches, etc are automatically creating these links only when the development tool (such as github, bitbucket, etc) includes the issuekey. More details on how this works can be found over in Reference issues in your development work.
If this is not your own pull request, then you might need to reach out to the author of that PR or an admin of your github/bitbucket repo in order to edit that title to remove the issuekey in question.
I hope this helps.
Andy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Andy.
> If you can edit the pull request to change and remove that Jira issuekey from it, then yes you can get Jira to remove this kind of link.
I have a question about this. A PR included a Jira issuekey by mistake. Typo. This PR got associated with the incorrect Jira issue.
The PR was then amended to include the correct Jira issue. This associated the PR with the correct Jira issue. However the older link to the wrong Jira issue still remained intact.
How can I modify and remove that link manually? Or can I?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I took a closer look at this with my own Bitbucket and Jira integration. The problem here is that some elements of the pull request can be amended, such as title or description, but other elements cannot, such as branch name. At least in my own case, even if I decline this pull request, and then even go as far as delete the branch, this pull request in my example still contains the old issue key and in turn still show on that old issue.
So in some cases, it might not currently be possible to unlink this mistake. I did come across a feature request that seeks to improve this behavior over in JSWCLOUD-21855.
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.