apuna12
4 years agoOccasional Contributor
Add tests to cycle via API
Hello all, I am so sorry to bother you every day. Today I want to add a tests into a test cycle via API. I tried to use the following link https://zfjcloud.docs.apiary.io/#reference/execution/ge...
- 4 years ago
Hi apuna12
So we have to use 2 api to add test cases to cycle .
1.To generate the JOB progress token id
API https://prod-api.zephyr4jiracloud.com/connect/public/rest/api/1.0/executions/add/cycle/cycleid
method - POST
response - We will get the job progress token id - for example - 0001608711762447-242ac112-0001-
2. Use the above job progress token id in the api
API - https://prod-api.zephyr4jiracloud.com/connect/public/rest/api/1.0/jobprogress/ (https://prod-api.zephyr4jiracloud.com/connect/public/rest/api/1.0/jobprogress/job) token id
Method - GET
https://prod-api.zephyr4jiracloud.com/connect/public/rest/api/1.0/jobprogress/0001608711762447-242ac112-0001
I tried at my end and it is working fine.
Attaching screenshot for your reference