Forum Discussion

Sahil_Zari's avatar
Sahil_Zari
New Member
2 months ago

How can I bulk Updated Test Cases status & steps steps status using ZAPI

Hi All,

 

With the help of below ZAPI:

POST  -- https://org-url/jira/rest/zapi/latest/execution/updateBulkStatus

Body:

{ "executions": [ "11", "22", "33" ], "status": "1" }

I am able to change the status of all test cases with id 11,12,13 to PASS

But not for all steps under that test case.

Right now I am following approach of fetching all steps and passing it one by one by  below ZAPI

https://org-url/jira/rest/zapi/latest/stepResult/stepID

 

Is there any way to pass all the steps along with Test case like:

 

https://org-url/jira/rest/zephyr/latest/execution/updateBulkStatus/all

 

I have searched for it but there is no as such ZAPI available can I request for one 

No RepliesBe the first to reply