cancel
Showing results for 
Search instead for 
Did you mean: 

Zephyr: problems in retrieving list of executions

Highlighted
MBN
New Contributor

Zephyr: problems in retrieving list of executions

Hello,

I need to retrieve the list of test cases (executions) assigned to a project/version.

I'm using this API call:

jira/rest/zapi/latest/zql/executeSearch?zqlQuery=project='xxxx' AND fixVersion='yyyyy' AND cycleName='zzzz' AND folderName='wwww'

 

In some cases, I'm getting 0 records even if records are present in the test cycle.

 

Is this the correct API to use?

 

Thank you.

2 REPLIES 2
New Contributor

Re: Zephyr: problems in retrieving list of executions

Hi There,

 

Here is a valid sample request for parsing the request for any ZQL query via api.

/rest/zapi/latest/zql/executeSearch?zqlQuery=project = "AV" AND fixVersion = "IOS10" AND cycleName in ("Chrome") AND folderName in ("apple1") AND fixVersion = IOS10

 

It looks like you are nou using IN clause <folderName in ("apple1")>

Screenshot (83).pngScreenshot (84).png

 

Regards,

Bibek

 

 

MBN
New Contributor

Re: Zephyr: problems in retrieving list of executions

Thank you!