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

This widget could not be displayed.
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
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

79 views 0 1
Join discussion

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