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

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

Bamboo randomly disables plan branch builds Edited

When working with plan branches, bamboo randomly disables the builds which are triggered when creating a pull request. This slows the review process significantly down, as these builds are required to a pullmerge requests in our projects

Steps to reproduce:

  • work with plan branches 
  • bamboo randomly disables plan branch builds

Expected Result:

  • Plan branch builds work as they did before 

Actual Result:

  • Plan branches are disabled so they won't be triggered in pull requests

Additional info: _(hints, App screenshots, logs,...)


Team - Please suggest on above mentioned issue at the earliest.

            we did not see anything in the agent logs where build is running.


Hi Team - Any suggestions or inputs on this?

1 answer

0 votes
Foong Atlassian Team Jan 16, 2019

If the following SQL return a result with a date in DETECTED_DELETION_DATE, it means that the branch was deleted previously and recreate in Bitbucket again:

SELECT * FROM vcs_branch WHERE NAME='<branch_name>';

By default, DETECTED_DELETION_DATE should be NULL if the branch isn't deleted.

Use the following steps to set it back to NULL:

  1. Shutdown Bamboo
  2. Backup database for rollback purposes
  3. Run the following SQL:
  4. Restart Bamboo

@Foong and what if the branch wasn't deleted? We're facing this issue in our team with absolutely new branches. As @Venkat already mentioned, it's happening randomly. I believe they're facing the same problem as we're.

It sounds like not an option to edit the database each time when the issue is happening.

Kindest Regards, 

Foong Atlassian Team Sep 30, 2020

Bamboo will only set DETECTED_DELETION_DATE data in the database when it has detected the branch deletion. 

You can create a Support Ticket at if you want Support Team to check when the branch is deleted last time.

Suggest an answer

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

How do you use the Bitbucket-Jira integration? How does it help your team?

Hey everyone, over the past year, we've added several new features on how you can use Bitbucket and Jira together. We'd love to know how you'll are using the integration and how it's helping your t...

129 views 0 2
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