Bamboo jobs history


I want to create a report on the history of a specific job (passed vs failed) - not a plan.

Specifically, I want to know what percentage of the time a build job passes. I can get this at the plan (a plan has a build and test job) but I can't seem to get it at the job level.

Is that possible with Bamboo or Bamboo CLI? Even if can get the list of buids for a given job, I can write a script to parse and create the report myself, but I can't seem to get the list of builds for a given job...

2 answers

1 accepted

0 votes
Accepted answer


Won't this give me the result of only the latest run?

It gave me the entire history, why don't you try it.

Oh you are right; it did give me the latest 25 results...

I know I can do ?expand=results[25:100].results and get results for 25-100, but any chance you know how to get those results in .json format?



Does not give it to me in JSON format... what am I doing wrong? (neither does putting the .json at the end of .result)... [And I'm new to REST, so sorry if this is a beginners question]


Indices start at 0, by default Bamboo will only return 25 results so above is the typical way to get a later subset. If you're more comfortable with your format you can still use it like this:


The main side effect I see is the size attribute goes from the result count to the entire set count.

I ended up modifying the the first route of:


and having a start Index that increases by 10 in each iteration of the loop.

Won't that give me just the result of the latest run?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

860 views 3 9
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you