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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


How to authenticate for xray internal API


Here is my use case: I need to reset the status of test runs (to become TODO) at the beginning of the tests exection in a batch requests ( I want to avoid setting the status one by one with the graph QL API updateTestRunStatus).

I reverse engineered the request Jira make when multiple test runs are selected from the test execution and it is a POST request to:

I try to make the same request and I pass "Authorization" header to "Bearer <access_token>" but I get the response: {"error":"Authentication request has expired. Try reloading the page."}

I know that this is an internal API, but if Jira uses it, why can't we? This will save us 99 additional requests as it seems that the maximum number test runs is 100.

1 answer

1 accepted

0 votes
Answer accepted

I managed to achieve what I wanted using this API
Adding all tests in the requests with status "TO DO".

I hope that this could help someone who tried what I did.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events