Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,464,074
Community Members
 
Community Events
176
Community Groups

Errors in Jira Bitbucket integration--other tickets showing up in pull requests

There are multiple pull requests showing up in an unrelated ticket and we're not sure what's going on.


We've reindexed our project but the issue persists

 

Screen Shot 2018-05-11 at 14.04.25.png

1 answer

1 vote
Andy Heinzer Atlassian Team May 11, 2018

Please have a look at this thread to see if this is related:

https://community.atlassian.com/t5/Jira-questions/What-links-a-JIRA-issue-to-Bitbucket-commits-PRs/qaq-p/629638

My thought is that @Mikael Sandberg's response on that thread might explain what you are seeing here:

JIRA issues are linked when you mention the JIRA key in Bitbucket, either in the branch name, as part of the description or comment in a pull request or as part of the commit comment (as you have seen). 

Here is some more information about the integration, https://confluence.atlassian.com/bitbucketserver/jira-integration-776639874.html

If that is what is happening there, then I'd check to see if that JIRA issue key is being mentioned somewhere in those other pull requests.

This makes sense--is there a good way to disable this?  We talk about Jira a lot in our tickets, that might complicate matters for us. 

I went through all settings of Jira and Bitbucket and did not see the option to do so

Mikael Sandberg Community Leader May 14, 2018

The only way to turn it off would be to remove the application links between Bitbucket and Jira, but that would remove the integration all together.

I'm running in to the exact same issue now, which is causing massive issues when creating Jira filter queries based on pr status (especially bad when releasing). Here's the main problem with this design: By default, Jira branch names include the issue key, and by default the BitBucket pull request commit message includes the branch name. So, now we have Jira issues with branches, and pull requests created from them, then merged and closed, but any branch off of develop which "refreshes" from the main integration branch (develop), then picks up those merge commits which contain the Jira Issue ID/branch name. I'm thinking the most complicated manner to fix this issue is to require either a rebase when "refreshing" from develop (rebasing, though a very useful strategy, is absurdly complex when you have a monolithic codebase of over 8 million LOC, and over 200+ developers). I wish instead that the default bitbucket branch commit history, which I'm assuming is what is being used by Jira, instead used a default --first-parent, or even a git log HEAD ^develop type of filter so as not to include all the commits which have occurred on the integration branch. If there is some configuration setting to avoid this, I would love to know it. Please help :-)

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events