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

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

434 views 6 9
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you