Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,279
Community Members
 
Community Events
168
Community Groups

Is there a way to get bamboo build reports to include data about plan branch buils

The Bamboo Build Activity report only presents data about the default branch.  Is there a way to get it to include plan branches as well?

1 answer

1 vote

Hello,

from Bamboo UI there seems to be no chance doing this. Its options are outlined here: https://confluence.atlassian.com/bamboo/reporting-289276962.html

However, Bamboo's REST API should offer a way, namely this:

/rest/api/latest/plan.json?expand=plans.plan.branches.branch.latestResult

The branch.latestResult node contains the build results for every branch of the plan (except for master), which means you can use this call to get branch results and then use /rest/api/lastest/result.json for the master branch build results.

Hope this gets you further.

Cheers, Gerhard

Thanks, this was incredibly helpful. I took over an older system where no one used the master branch - only development, go figure :) and needed to know when the last builds occurred for each branch to see which were active and which were abandoned. I still need to post-process but this is a great start.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events