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

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

How can i get execution IDs for multiple JIRA tests in a single API call.

Hi all,

I have multiple tests like (ABC-123,ABC-234,ABC-456). I know the way to get execution IDs for each of the above tests using the URL-
http://<jira-server>/rest/zapi/latest/execution?issueId=123

Since i have 3 tests, i have to execute the URL 3 times to get execution IDs for 3 tests. Is there any other way i can make a single call and get execution ID's for all the tests?

There are around 500 tests in my project and i don't wanted to make 500 calls since its time consuming. If there is any single API call through which i can get execution IDs, please let me know. 

Thanks,
Sai.

1 answer

you are saying 

http://<jira-server>/rest/zapi/latest/execution?issueId=123

this line will give the execution id. 

i am getting like this below can you tell if i am missing something?

"issueId": 857435,
"executions": [

],
"currentlySelectedExecutionId": "",
"recordsCount": 0,
"totalExecutionEstimatedTime": "0 minutes",
"totalExecutionLoggedTime": "0 minutes",
"executionsToBeLogged": 0,
"isExecutionWorkflowEnabledForProject": true,
"isTimeTrackingEnabled": true

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

561 views 5 20
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