How to run old branches with new commits automatically?

We have certain branches that have gone down in priority so dropped out of bamboo branch build. Most users do not have access to manually add a branch so when they finally pick it up again the branch is no longer available to them. Is there a way to automatically add the branch back when there are new commits to it?

2 answers

0 votes

Not by default. You will have to manually add the branch back. To make it worse, Bamboo has a bug that deletes the newly added branch because it was already cleaned up once. I think the bug is fixed in the latest versions but I haven't got a chance to test yet.

You might have to create a plugin that adds the Bamboo branch plan on fresh commits, maybe with different name depending on your version, if you really want to get this going!

I dont see the bug you are talking about. When adding manually it works just fine but theres only 1 person in the company that has enough permissions to add old branches back.

0 votes

I believe this problem can be solved by configuring "Automatic branch management": select "Do not delete inactive plan branches" for "Inactive branches".

as it stands we already too many branches. definitely dont want to have even more branches. i want to change the delete stale branches option to something like 7 days and want the "reactivated" branches to come back into bamboo with new commits

You might want to create feature request on our public issue tracker jira.atlassian.com/browse/BAM

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,066 views 0 5
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot