Issue fields paginated api not returning custom fields created in project settings

Hi,
I tried using issue fields paginated API ( /rest/api/2/field/search?type=custom&id=some-id-1,some-id-2) to retrieve the custom fields by id. Consider some-id-1 created from custom field section (secure/admin/ViewCustomFields.jspa) and some-id-2 custom field I created from project settings -> issue types (jira/software/projects/{project-id}/settings/issuetypes/10013). Now when I try the above paginated query I am getting only some-id-1 data in the response. The data for the some-id-2 custom field is not returned. But when I try to get all the fields using API ( /rest/api/2/field) I am receiving both some-id-1 and some-id-2. What is the solution for getting the custom fields created from project settings -> issue types.

Hi @GokulKrishnanP ,

The documentation for GET /rest/api/3/field/search says:

Returns a paginated list of fields for Classic Jira projects.

“Classic” was the name given to company managed projects. I wonder of the field that is not returning is due to it only being applied to team managed projects.

Regards,
Dugald

1 Like

Thanks @dmorrow . In order to get the team managed project's custom fields is there any api endpoint or any work around available.