Hi Team,
I am using zephyr for jira cloud. I need a way to get issueId of a corresponding test case id.
For example test case id=ZD-14 has issueId=10014.
These APIs(https://zfjcloud.docs.apiary.io/#) are not helping in getting issueId when i know test case id.
Please help.
Ankur
Hi, you can get the issue-id via API, see docs
https://support.smartbear.com/zephyr-scale-cloud/api-docs/#tag/Test-Cases/operation/getTestCaseLinks
example:
https://api.zephyrscale.smartbear.com/v2/testcases/{testCaseKey}/links
response will contains the issue ID in issues > target key of json
Hello @Ankur_Upadhyay02 ,
Welcome to the Atlassian Community!
I have added the tag 'zephyr' to this question so that it will get the attention of the right team.
However, searching for previous posts on the same topic it seems that you can use the Jira REST API endpoint /rest/api/3/search (GET or POST methods) to search for the issues and in the response you will get the issue-id.
For further details you may want to check the below threads (some are old, some are for Jira Server but they described the 'logic'):
I hope this helps.
Cheers,
Dario
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.