Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

167 views 0 4
Read article

Community Events

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

Events near you