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,363,083
Community Members
 
Community Events
168
Community Groups

PR in BitBucket not updated with new commit

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 Feb 20, 2020

Hello and welcome to the Community!

Are you using Bitbucket Cloud or Bitbucket Server?

Bitbucket Server

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 Feb 24, 2020

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

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

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/#/

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

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events