Hi,
We would like to directly get the fields configured only in a specific team-managed project, is it possible with the existing REST APIs?
We already tried some REST APIs but to no avail.
We tried this get paginated fields API (https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-fields/#api-rest-api-3-field-search-get) but it will only return fields of classic projects.
The only thing we could do is use the get all fields (https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-fields/#api-rest-api-3-field-get) and filter out based on the project scope (like below)
But doing this would mean we will get all fields in a JIRA instance first and filter them out which would be a very big overhead especially if there are thousands of fields.
We also created a ticket here https://ecosystem.atlassian.net/browse/ACJIRA-2410 but no response as of today.
Hey @Steven Pila - Did you make any progress on this?
Hi @John Funk , unfortunately, there's none, currently, we just treat this as a limitation and used a fixed list of system fields for team managed projects.
Hi @Steven Pila
This API may satisfy your needs?
Get create issue metadata
GET rest/api/2/issue/createmeta?projectKeys=KEY&expand=projects.issuetypes.fields
By using expand parameter it returned all fields used in the project.
However, this API is Deprecated, we may need to query field by Issue types.
Get create field metadata for a project and issue type id
It looks like you're new here. Sign in or register to get started.