The only way to show branches is using something like the following link (not actual working link): "https://bamboo.testserver/telemetry.action?filter=showPlanAndBranches&planKey=TEST-KEY"
This only shows the branches of a single plan. What I need is a way to show the branches of all plans. I would figure the link would be something like "https://bamboo.testserver/telemetry.action?filter=showBranches". Unfortunately that does not seems to be a thing.
Is there a way to get all branches of all plans into the telemetry?
What I need to solve is that I have the need of a single overview of all currently faling plans and branches.
Thanks for your question. I'd have an idea for you which involves 2 Bamboo REST endpoint calls and a loop, so some coding or scripting. But that's fun, isn't it.
Please find the Bamboo REST API document for your reference and utilize it for details related to both REST APIs that I'll print out below.
So here we go, these are the steps required.
By the above steps 1 - 3 you should get to know all plans your instance possesses, all branches per plan and, implicitly, summing up all these branches, the total amount of branches that you have, per name.
Now for point (1) the REST endpoint used with the GET method is as simple as this:
Per use of additional parameters in this call, you'd be able to get further plan details, if wished.
For step (3) from above the REST endpoint, again being used per GET, is this one:
You can e.g. use the "enabledOnly" parameter to filter out disabled branches.
Hope that help you Joris or whoever else wants to collect that piece of Bamboo information.
Thanks and cheers, Gerhard
G’day Bamboo customers, The wait is over! Bamboo Data Center edition you have been asking for is finally here! This self-managed enterprise offering of Bamboo has the resilience, reliability, and s...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events