Is there a way for Bamboo to expose information about the specifics of a failed test using the REST API?

We're running Bamboo 3.4.4, and we can't find a way to get the class/method name information from a failing test via the REST API.

We're using:

, but the most information we get back from this is:

<testResults fixed="0" existingFailed="0" newFailed="46" failed="46" successful="149" all="195" expand="allTests,successfulTests,failedTests,newFailedTests,existingFailedTests,fixedTests">
<allTests size="195" max-result="195" start-index="0"/>
<successfulTests size="149" max-result="149" start-index="0"/>
<failedTests size="46" max-result="46" start-index="0"/>
<newFailedTests size="46" max-result="46" start-index="0"/>
<existingFailedTests size="0" max-result="0" start-index="0"/>
<fixedTests size="0" max-result="0" start-index="0"/>

Are we doing something wrong, or is this the most information that can be exposed from the REST API around test information?

1 answer

1 accepted

1 vote
Accepted answer
Brydie McCoy Atlassian Team Oct 28, 2012

I realise this is an old post. But just in case someone else is having the same problem...

* The expand parameters look incorrect. It should be "testResults.failedTests".

* Also, you can only get test results at the JOB level. Not at the plan level. (The above example is correct, but often a common mistake)


Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

1,949 views 8 7
View question

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