Ask a Question

`status` param ignored when creating execution via API

New Contributor

`status` param ignored when creating execution via API

We're adding integration to Zephyr Squad via API. According to the documentation for the `create_execution` endpoint, we should be able to pass the parameter `status`, as an Object and set it to whatever value we want. We wanted to have this attribute set to "WIP". However, this parameter is simply ignored. 

These are the bodies of the request that were tested:

'{"status":{"id":3},"projectId":10000,"issueId":10050,"versionId":-1,"cycleId":-1}' # supposed to be the right one


Neither of the above worked and each time in response we were getting an execution with the status "UNEXECUTED":

... "status":{"name":"UNEXECUTED","id":-1...

Is there something we can do to make it work? Temporarily we'll be using a second call to update the created execution on the `update_execution` endpoint.

Showing results for 
Search instead for 
Did you mean: