Jira automation - xray response contains only first 50 tests

Vojtech Kalab January 3, 2025

Hello there,

i struggle with my jira automation chain.

Chain is triggered when test execution is created.
Then i get token to xray api and send request to xray to get details of content in this test execution.

However most of the time it returns only first 50 tests and miss 18 more.

If i try to call xray api myself, response is correct with all 68 tests.

I tried to add re-fetch before call xray api to ensure data is update, but this does not help.

 

Also this behavior is not 100% consistent, sometimes it response with all 68 tests.

Do you have any idea what can cause this problem?

Maybe some timing issue? - but then how can i introduce some delay to chain?

 

Thank you in advance

 

Vojtěch

2 answers

1 accepted

0 votes
Answer accepted
Vojtech Kalab January 6, 2025

It looks like 'delay' block in Jira automation after Test Execution is created do the job.

0 votes
Vojtech Kalab January 3, 2025

there is screenshot of my request:
image.png

And here is response from audit log:
image-2.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events