Forum Discussion

kbathwal's avatar
kbathwal
Occasional Contributor
10 months ago

Need help on Test Executions based on Cycle Zephyr Squad Cloud API

The API documentation for these two end points is terrible.

https://zephyrsquad.docs.apiary.io/#reference/execution/get-list-of-executions-by-cycle/get-list-of-

... vs.

https://zephyrsquad.docs.apiary.io/#reference/execution/get-list-of-executions-by-cycle-v2/get-list-...
Specifically, there is no information provided for the following parameters: - expand "expand of Execution" String - sortOrder "sortOrder of Execution" String - action "action of Execution" String - sortBy "sortBy of Execution" String Can anyone refer me to something with more information? I'm specifically wondering about expand and action.

This is the URL I am hitting:
https://prod-api.zephyr4jiracloud.com/connect/public/rest/api/2.0/executions/search/cycle/f17f69af-02fc-4cdc-863a-bdbd4fa5a66b?versionId=16729&projectId=10087
I have even given necessary headers like Zapi access key and jwt token. Still unable to authenticate.

MartiLobos anupdamodaran pls help!
Screenshot attached.
Pls note: My JWT token generation is working fine for other API endpoints but only for the above API its not working.

Also I am unable to generate JWT sepcifically for the above API even after providing versionId, ProjectId,CycleID correctly. 
I need resolution on this urgently.

  • kbathwal's avatar
    kbathwal
    Occasional Contributor

    Also I am unable to generate JWT sepcifically for the above API even after providing versionId, ProjectId,CycleID correctly. 
    I need resolution on this urgently.