Is there any xml file or configuration file where i can change such that it will automatically disable the checkbox in permission tab in bamboo.
Currently for 700 build plans i'm manually unchecking in permission tab of bamboo build plan.
And also i need to know what builds plans are disabled in bamboo through some xml or configuration file instead of checking GUI, so that it will helpful for me in doing some automation.
For the permission manipulation question: have you considered using "Bulk edit plan permissions" in the Bamboo -> Admin -> Plans -> Bulk edit plan permissions? And if it isn't suitable for your needs, could you explain a little bit more what are you trying to achieve and why "Bulk edit plan permissions" is not enough?
In Builk edit plan permission window, we don't know which builds are disabled and which builds are enabled,
Actually in my project there are 800 build plans, out of it, approx around 200 build plans are enabled and rest of all are disabled,
I need to hide all disabled build plans,
For that, in dashboard im going plan by plan for disabled, and changing permission,
Is there any xml file or configuration file where i can get all disabled build plans or any database query?
Thanks for your support in advance.
Hm, I see. So, from what I understand you're trying to 'archivize' the plans. Sort of. Interesting.
I imagine you could retrieve the list of the disabled build plans by examining your "BUILD" table in your database. I believe that table stores information about your plans (like planKey, the name) including 'suspended_from_building' flag - which I presume defines whether the plan is enabled/disabled).
Also, I think you could retrieve the list of disabled plans by Bamboo REST api. For example following query should return you the list of your main plans with information whether plan is enabled - you would just need to parse the response:
I'm not sure how you could use that data later for removing 'view' permissions for all disabled plans (in some automated way...). Maybe you would have to manually review the above results and use "Bulk edit plan permissions"?
Is that helpful to you?
I'm John Allspaw, co-founder of Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...
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!
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