How to list all tests associated with a cycleid, using ZAPI

April 25, 2016

Problem

How to list all tests associated with a cycleid, using ZAPI

Solution

Please use the URL like below sample and change the parameters accordingly:

http://jiraserver/rest/zapi/latest/execution?cycleId=1&action=expand&offset=0&sorter=OrderId:ASC&decorator=none&contentOnly=true&noTitle=true&projectId=10100&versionId=-1

Please confirm if the issuetype Test is configured to the project in which user is working by going to the "Issue type Scheme" page.

Check the below permissions are assigned respectively. Missing any one of them may lead to unknown issues.

Please refer the attachment for sample response.

Products:

Downloads: