Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×We have automatic branch creation enabled (Bamboo 5.9.1). We want all these branches to always leave the "Clean up branch automatically" box checked. However, sometimes for whatever reason some of our branches have that box unchecked. Then they just sit around forever.
We have 30+ plans and 100+ branches per plan: pointing and clicking through them all to find which ones might be misconfigured is clearly a non-starter.
How can I find these branch plans more easily? I even have access to the SQL database backend directly (it's mysql) and can run queries on it, but I can't understand the schema to find what I want. I would of course use the web interface to fix the incorrect configuration, not the database, but if the only way to find the incorrect configurations is via a query I can do that.
Help!
Aha! It's BUILD_DEFINITION, but this query does what I need (mysql database):
select FULL_KEY from BUILD where BUILD_ID IN (select BUILD_ID from BUILD_DEFINITION where EXTRACTVALUE(XML_DEFINITION_DATA, '/configuration/branchConfiguration/cleanup/disabled') = 'true');
Thx!
You need to run selects on BUILDDEFINITION table, the xml there stores this information.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.