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

Our branches are gone with no logs of deletion. What happened?

Amesh Narsing Feb 07, 2019

My team is working with feature branches and suddenly this afternoon 10+ branches were deleted from the origin. Only two branches remained. There are no logs of these branches being deleted and we are baffled as to why this happened. Thankfully our local branches have persisted and new commits push these branches back to the origin.

Has anyone else noticed this recently? Can anyone bring some insight into why this might be?

1 answer

0 votes
Stephen Sifers Atlassian Team Feb 12, 2019

Hello Amesh,

Your branches within Bitbucket may have been cleaned up depending on which options were selected when the branch was closed or the pull request was merged back. If none of the new commits in the branches made it back to master or other, then chances are the branches were closed or deleted. If the changes did make it to master or other then most likely the pull requests had been merged back.

If the branches were deleted, there is a procedure which can be used to restore the deleted branches. You may find this procedure at How to restore a deleted branch.

As far as the audit logs in Bitbucket cloud, the only logging which is recorded to the audit log is as follows:

  • Basic account information (name, location, website) updates
  • Changes to email addresses
  • Links with third party accounts (Google, Twitter, Facebook)
  • Addition of OAuth services integrations
  • Groups & general access list changes
  • Creation and deletion of repositories

Source documentation: New audit logs give you the who, what, when, and where?

If you need to know what happened, we can open a support request on your behalf to discover what took place. If you would like done, please let us know.

Regards,
Stephen Sifers

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

1,814 views 1 19
Read article

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