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.
Hi @Steven Pila
This API may satisfy your needs?
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
Hey @Steven Pila - Did you make any progress on this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.