How to identify issue provided by Zephyr for JIRA plugin

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 .

 

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 ??

1 answer

1 accepted

Hello Kamil,

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

 {
    "self": "http://www.example.com/rest/api/2/issuetype/10100",
    "id": "10100",
    "description": "This Issue Type is used to create Zephyr Test within Jira.",
    "iconUrl": "http://www.example.com/download/resources/com.thed.zephyr.je/images/icons/ico_zephyr_issuetype.png",
    "name": "Test",
    "subtask": false
  }

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.

General_information.png

 

Regards,

Zephyr Support

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 ??

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,798 views 11 18
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot