PR in BitBucket not updated with new commit

Anishka February 20, 2020

If you do a forced push of a branch which has a PR the PR isn't updated. The branch view shows the new commit but in the PR no change is visible. If you decline and re-open the PR the change is visible.

1 answer

0 votes
Tyler T
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 20, 2020

Hello and welcome to the Community!

Are you using Bitbucket Cloud or Bitbucket Server?

Anishka February 20, 2020

Bitbucket Server

Tyler T
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 21, 2020
Anishka February 24, 2020

The branch permissions consists of these 3 options :

1)Rewriting history

2)Deletion

3)Changes without a pull request

Do I need to change any setting ?

Tyler T
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 24, 2020

Are any of those options set? The rewriting history setting could be affecting your force-push issue.

Anishka March 3, 2020

I deleted the 'Rewiritng History' option from the Branch permissions but It is also present in the Project settings .
And the user noted that the problem wasn't on master and this is needed for the Admins.
image.png

Tyler T
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 3, 2020

Yes, using the Prevent -> Rewriting history setting probably something you want to keep set on master. Your original issue was the the pull request didn't update in your feature branch.

If you are still having an issue I recommend you open a bug report with the support team so they can investigate this further: https://support.atlassian.com/contact/#/

Samuel Bloch August 5, 2022

I'm having this issue and I was told to ask the community.

Like Deleted user likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events