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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,462,021
Community Members
 
Community Events
176
Community Groups

Bamboo REST API: how to get testId?

Edited

Hi everyone,

I try to quarantine/resume tests on the REST API what works fine, except I can not get the testids anywhere (what is required by the quarantine call).

The

/plan/{projectKey}-{buildKey}/test/{testId}/quarantine

call needs the testId what I don't find anywhere else in the documentation. I could quarantine some test by checking the web interface in a browser, where the testID is part of the URL. That way obviously can't work in a script...

The most what I could have on the REST interface is the list of a quarantined job by the:

/result/{projectKey}-{buildKey}-{buildNumber : ([0-9]+)|(latest)}?expand=testResults.quarantinedTests

but this gives back the test list with class and method names, no testId.

Is it a bug, a missing feature or am I looking at the wrong place?

1 answer

0 votes
rsperafico Atlassian Team Apr 06, 2018

Hello @Robert Kulyassa,

Thank you for your inquire.

Please, notice the endpoint /plan/{projectKey}-{buildKey}/test/{testId}/quarantine is not currently available in https://docs.atlassian.com/atlassian-bamboo/REST/6.4.1/, meaning it is used as an internal call.

Reviewing your inquire, I also agree Bamboo should provide a way to expose testId so it could be consumed in different scenario(s). For this reason, please find below a feature request raised:

https://jira.atlassian.com/browse/BAM-19816

I would encourage you leaving a comment to the link above, as well as voting and becoming a watcher so you can receive latest updates.

Kind regards,

Rafael

Thx for the comment (and the ticket), so it's even worse, now I started to miss the /quarantine call as well...

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events