Can Bamboo plan branch management, re-create branch plans that were auto-deleted?

We use Bamboo's plan branches and the auto-management is on. So the text on the UI says:

Bamboo will automatically create Plan Branches when it detects new branches in your version control system and automatically remove Plan Branches from Bamboo after a specified period of inactivity. Detection of new branches runs every 5 minutes

Observed and desired behaviour:

  • New git branch is created, Bamboo creates new plan branch.
  • git branch has lots of activity, plan branch kicks off builds.
  • git branch has no activity for our configured 15 days, plan branch is deleted.

Aww, it doesn't have this behaviour:

  • Git branch receives a commit - :( Bamboo doesn't re-create the plan branch and fire a build.

In other words, we'd prefer the behaviour to be: create new plan branch on new or updated git branches, if no plan branch exists for that git branch. Or - can I enable this, and if so, how?

3 answers

The answer to the original question is: nope

I see that has been created for this issue. From the comments, it looks like Atlassian isn't really planning on implementing this feature. Please vote for the ticket. If enough users do so, hopefully they'll change their minds.

We would also be very much interested in this option to recreate the plan branch. As a work-around we set the auto-clean up delay to zero (for never clean up).

Also, why is it so that branch-detection is by polling every 5 minutes? We don't like to wait. Can't we change this or configure it to work with a trigger like with auto-builds with new commits?

+1000 for this issue We're using both Stash and Bamboo, and have set the Pull Request to only be merged when we have at least one successful build. When a branch is deleted in Bamboo and not re-created, we're not able to get a successful build, and I have to disable this check, merge that pull request and enable the check again. If it is not possible to have Bamboo re-create the branch automatically, is there (or will there be) a command to create the branch manually, such that it is not necessary to override these checks?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Jan 15, 2019 in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

312 views 5 2
Join discussion

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