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
| Flag | Type | Required | Description |
|---|---|---|---|
--fieldId | string | No | The IDs of fields to return. If not provided, all fields are returned. |
--maxResults | string | No | The maximum number of items to return per page. |
--projectId | string | No | The IDs of projects to return fields for. |
--startAt | string | No | The index of the first item to return in a page of results (page offset). |
--workTypeId | string | No | The IDs of work types (issue types) to return fields for. |
Example:
bash
jr projects get-fields