Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get the list of issue types assigned to my project?

Prashant_Shri August 5, 2019

Hi Team,

I know that url "jira/rest/api/2/issuetype" is used to get all the issuetype in jira api. I tried the same mentioned URL in Postman app which is giving me the list of issue type in json format. but I want to get only those issue type which I have used to create issues in my project. 

for ex: suppose I have used [ Story, Epic and Defect ] these 3 issue types only in my project at the time of creating any issue. so, when I try to get all issue types, then jira api should only give me these 3 mentioned issue type.

please help with the solution which I could test in Postman app to check. 

1 answer

0 votes
Muhammad Ramzan_Atlassian Certified Master_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 5, 2019

In api call provide the jql filter like jql=issuetype in (story,epic) and then you will get the required issues types only.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events