Skip to content

projects

get-fields

Get fields for projects

Returns a paginated list of fields for the requested projects and work types.

Only fields that are available for the specified combination of projects and work types are returned. This endpoint allows filtering to specific fields if field IDs are provided.

Permissions required: Permission to access Jira.

GET /rest/api/3/projects/fields

FlagTypeRequiredDescription
--fieldIdstringNoThe IDs of fields to return. If not provided, all fields are returned.
--maxResultsstringNoThe maximum number of items to return per page.
--projectIdstringNoThe IDs of projects to return fields for.
--startAtstringNoThe index of the first item to return in a page of results (page offset).
--workTypeIdstringNoThe IDs of work types (issue types) to return fields for.

Example:

bash
jr projects get-fields