Given I have a Jira ticket key (e.g. "PROJECTNAME-1234"), how can I find all Zephyr test case items that are linked to this ticket, e.g. via traceability tab in Zephyr plugin, by using a Rest API call?
What I am currently using is
/rest/tests/1.0/testrun/search?fields=id,key,name,folderId&query=testRun.projectId+IN+(12345)+AND+testRun.folderTreeId+IN+(654321)+AND+testRun.keyName+LIKE+"FINDME"+ORDER+BY+testRun.name+ASC&maxResults=40&startAt=0&archived=false
but there is no parameter option for the Jira ticket key (if any) that is linked - does such a parameter exist?
I reverse engineered it, essentially it can be done with
/rest/tests/1.0/testrun/search?fields=id%2Ckey%2Cname%2CfolderId%2CiterationId%2CprojectVersionId%2CenvironmentId%2CenvironmentIds%2CtestCaseCount%2CissueCount%2CcustomFieldValues%2CcreatedOn%2CissueId&query=testRun.projectId%20IN%20%2812345%29%20AND%20testRun.folderTreeId%20IN%20%28123454%29%20ORDER%20BY%20testRun.createdOn%20DESC&startAt=0&maxResults=40&archived=false
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.