Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

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

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

195 views 4 6
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