The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • rest/api/2/issue/<issue id>/editmeta is not returning correct list of allowed issue type field

rest/api/2/issue/<issue id>/editmeta is not returning correct list of allowed issue type field

AutomationUIUser
October 16, 2023

Hello, we aim to identify the potentially permissible issue type values for a specific entity using the API "rest/api/2/issue/<issue id>/editmeta." However, it consistently fails to provide accurate responses. The values we observe on the UI are absent in the API response, and sometimes the entire field is missing. What might be the underlying cause for this issue? Are there alternative APIs that can provide the required information, or could this scenario be linked to specific settings?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Marc -Devoteam-
Community Champion
October 16, 2023

HI @AutomationUIUser 

What kind of fields are you missing?

Fields from apps, these are not available via the Jira API, as they are not part of the API.

They might be available from the APP API, if there is one.

AutomationUIUser
October 16, 2023

Hi,

We are fetching the Issue Type field from the response, for which we have observed an inaccurate response.

The meta information for this field is : "issuetype":{"required":true,"schema":{"type":"issuetype","system":"issuetype"},"name":"Issue Type","key":"issuetype","operations":[],"allowedValues":[...]]. We presume that this resides within the built-in field in the Jira server for work items. 

Please let us know if you need any further details on the same

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events