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,366,375
Community Members
 
Community Events
168
Community Groups

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

Atlassian Community Events