I am fetching issuetypes from JIRA using the REST Api's . After i included the Zephyr for JIRA plugin , the issue type TEST is also available in the response . My doubt is how to identify , that this issuetype (Test) is provided by Zephyr Plug-In. Because , i can able to change the name of the issue Test to name of my interest (cause it is the default name provided by JIRA). One thing i found is in the response of (/rest/api/2/issuetype) , which retrieves all the issuetypes in JIRA , with the help of id attribute , i can able to identify it , that the issue is provided by Zephyr (even the name is changed to some random name) .Again in this approach , i got stuck like , I am having two JIRA instances , one is of version 6.0 and the other is of version 6.2 , when i see the response of (/rest/api/2/issuetype) this api , the id of issuetype test is different , i.e in v 6.2 the id is 10100 and in v 6.0 it is 9 .
Again my doubt is how to uniquely identify that this JIRA instance have a issue that is provided by Zephyr . I have searched in their documentation https://docs.atlassian.com/jira/REST/latest/ , but i couldnt find any . Any suggestions ??
The issue id of the issuetype Test varies with each installation of Zephyr for JIRA. It will take the Id available by default starting from 10000. If you fetch the issuetypes using JIRA rest api /rest/api/2/issuetype, the description will let you know the issuetype belongs to Zephyr or not as below
"description": "This Issue Type is used to create Zephyr Test within Jira.",
If you get a different Id(ex:9) and was not sure whether it belongs to Zephyr, you can confirm this from Zephyr General Information page by navigating to Administration > Add-ons > Zephyr for JIRA > General Information and check the Issue Type Test ID match the one you fetched.
Thanks a lot Swapna Kumar Vemula :) . It cleared me . I have an another doubt . In our JIRA instance , I can able to rename the issue type "Test" to some random name of our interest and still it has the same functionality (Having Test steps and other functionality ) , which is not available in other issue types. Suppose i rename Test to scenario , how can i able to identify that this issue type is provided by Zephyr add-on.(when i pull all the issue types under the project using the required REST API ). Is there a way to recognize this ? The reason i am asking this is we are integrating our application with Jira . To start with the integration we need to check first whether Zephyr is configured or not . If it is configured , how to identify the issue type , which is provided by it ?(i.e provided by Zephyr) . Cause we have the privilege to change the name of Test issue type . I have looked at both https://docs.atlassian.com/jira/REST/latest/ (Jira REST API documentation) and http://docs.getzephyr.apiary.io/# (Zephyr REST API documentation) , i couldn't find any . Any suggestions ??
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs