Optionalparameters: {Optionalexpand?: Use expand to include additional information in the response. This parameter accepts a comma-separated list. Expand options include:
key returns the key for each fieldstableId returns the stableId for each fieldlastUsed returns the date when the value of the field last changedscreensCount returns the number of screens related to a fieldcontextsCount returns the number of contexts related to a fieldisLocked returns information about whether the field is lockedsearcherKey returns the searcher key for each custom fieldOptionalid?: string[]The IDs of the custom fields to return or, where query is specified, filter.
OptionalmaxResults?: numberThe maximum number of items to return per page.
OptionalorderBy?: Order the results by:
contextsCount sorts by the number of contexts related to a fieldlastUsed sorts by the date when the value of the field last changedname sorts by the field namescreensCount sorts by the number of screens related to a fieldOptionalprojectIds?: number[]The IDs of the projects to filter the fields by. Fields belonging to project Ids that the user does not have access to will not be returned
Optionalquery?: stringString used to perform a case-insensitive partial match with field names or descriptions.
OptionalstartAt?: numberThe index of the first item to return in a page of results (page offset).
Optionaltype?: ("custom" | string & {} | "system")[]The type of fields to search.
Optionaloptions: RequestOptions
Returns a paginated list of fields for Classic Jira projects. The list can include:
idqueryidandqueryUse
typemust be set tocustomto show custom fields only.Permissions required: Permission to access Jira.