provider Issue fields GET /rest/api/3/projects/fields
@utdk/jira /rest/api/3/projects/fields
Get fields for projects
Returns a [paginated](#pagination) 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](#permissions) required:** Permission to access Jira.
startAt query
The index of the first item to return in a page of results (page offset).
integer
maxResults query
The maximum number of items to return per page.
integer
projectId query required
The IDs of projects to return fields for.
array
workTypeId query required
The IDs of work types (issue types) to return fields for.
array
fieldId query
The IDs of fields to return. If not provided, all fields are returned.
array

Try it

Authentication
Configure credentials for The Jira Cloud platform REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

getprojectfields
GET/rest/api/3/projects/fields
Returns a [paginated](#pagination) 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](#permissions) required:** Permission to access Jira.

The index of the first item to return in a page of results (page offset).

The maximum number of items to return per page.

required

The IDs of projects to return fields for.

required

The IDs of work types (issue types) to return fields for.

The IDs of fields to return. If not provided, all fields are returned.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import jira from '@utdk/jira';

await jira.getprojectfields({
  "startAt": 0,
  "maxResults": 50
})