How to exclude specific branches from being removed due to inactivity in Bamboo

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Plan branch cleanup may be enabled on a plan to cleanup inactive branches. However, it may be necessary to exclude certain long lived branches such as 'develop' from cleanup as the rules are desirable to keep feature branches under control only.

Solution

Plan branch cleanup can be disabled on a per plan branch basis. To configure this:

  1. Visit Configure Branch >> (Branch Details tab)

  2. Uncheck Clean up plan branch automatically

(Auto-migrated image: description temporarily unavailable)

For the official documentation on configuring a plan branch, please see the link below:

Updated on March 18, 2025

Still need help?

The Atlassian Community is here for you.