Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

David_Mills
Contributor
September 20, 2018

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
Gerhard Forster
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 24, 2018

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

Ed Cardinal
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 20, 2020

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
AUG Leaders

Atlassian Community Events