I am trying the get the issue types using the REST API. I tried the below two APIs.
In both the API result, i am getting 11 issue types. But in actual JIRA UI, I am seeing only 5 issue types.
Is there any REST API available to get only the issue types displayed in the JIRA UI ? Any suggestion on this issue is really appreciated. Thanks in advance.
I wouldn’t expect either of those calls to return a list of issues
Hi @tom lister,
Thanks for the quick response. The API that you suggested, gives the list of issues under the project. I am looking for "issuetypes" : list of issuetypes available while creating the JIRA.
Please let me know if you need any details on the issue. Thanks.
you will get the list of issue types available in a project and within the issues a list of fields available and their types including whether they are mandatory. For select lists the allowed values are shown. This is the most complete information available and is the meta data required fro creating an issue.
What do you mean by UI? The view screen for issues?
Fields will only be shown if they have values. JIRA doesn't have any custom field value entries for fields until they exist for the specific issue.
My REST data shows a mixture of fields required and not required. I have no reason to believe it's not accurately reflecting the underlying configuration. If you think it's wrong that would be an Altassian support issue.
For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events