Using Zephyr Cloud Rest API ,how to get issueId corresponding to testCaseID?

Ankur_Upadhyay02 November 8, 2019

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

1 answer

0 votes
Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 21, 2019

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events