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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Pull Request Statuses Out Of Sync

On a couple of occasions, we find that the status of the Pull Request listed under the Development section of the Issue screen it not the same as the status when you click the Pull Request link.  For example, under Development, the Status is Open but if I look at the Pull Request it is Merged.  

On a related note, for that same ticket, the Development section shows 1 branch but if I click on that branch it says "You don't have access to view all related branches.  Please contact your administrator."

We have the Server version of JIRA and Bitbucket.  What I describe above has only happened a couple of times out of 300 pull requests.

Thank you!

Karlimage.png

image.pngimage.png

1 answer

0 votes
Ana Retamal Atlassian Team Mar 30, 2018

Hi Karl! Which version of both Jira and Bitbucket Server do you have? Have you tried removing and recreating the app link to see if the behavior changes? 

Please let us know as otherwise we'll need to open a Support ticket for you to have a look at your logs.

Best regards!

Ana

Hi Ana,

Thank you for your reply.  Yes, after your suggestion, we tried removing and recreating app links but that did not resolve the problem.

JIRA
Version 7.8.0
Build 78000

Bitbucket
Build Version 5.9.0
Build Number 5009000

Karl

Hi Karl,

While I can't say what is causing the behavior you are encountering without reviewing your logs and doing quite a bit of digging, one thing you can test and use as a temporary workaround would be to locate the row within Jira's Database where the status information is stored, and delete it causing Jira to trigger a new sync sometime in the next 30 minutes or so. This should then pull in the updated data and be reflected in your Dev Panel in Jira.

SELECT * FROM entity_property WHERE json_value LIKE '%<Jira-Issue-Key>%';
DELETE FROM entity_property WHERE id = '<ID>';

Example:

SELECT * FROM entity_property WHERE json_value LIKE '%ABC-123%';
DELETE FROM entity_property WHERE id = '10101';

If you would like assistance narrowing down the actual cause of this issue, it would be best to proceed with a ticket to support as the information required would be confidential. If this is the case, just let me know and I will be happy to create a ticket on your behalf.

Regards,

Michael

Hi Michael,

I tried your suggestion but it did not correct the problem.  I also re-indexed JIRA.

I will create a support ticket next.

Thank you!

Karl

Hello,

Sorry for digging up an old question but we are seeing the exact same problem on a PR on our side.

Status in Jira show as "OPEN" although actual status is "MERGED". We also see the same message when clicking on the branch in Jira: "You don't have access to view all related branches. Please contact your administrator.".

Was this resolved?

Hi - I don't know if this was officially resolved but we have not observed this behavior since my original post.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Bitbucket

Contest: Share your custom Bitbucket Pipe and win

Announced in this blog, this holiday season we’re celebrating all things CI/CD and between now and the end of 2019 we’ll be showcasing content, use cases, feature announcements and more. One featur...

2,126 views 11 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you