Get fields paginated
GET
/rest/api/3/field/search
Issue fields
id
query
id
and query
type
must be set to custom
.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://jira.local:8080/jira/rest//rest/api/3/field/search'
Response Response Example
200 - Success
{
"maxResults": 50,
"startAt": 0,
"total": 2,
"isLast": false,
"values": [
{
"id": "customfield_10000",
"name": "Approvers",
"schema": {
"type": "array",
"items": "user",
"custom": "com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker",
"customId": 10000
},
"description": "Contains users needed for approval. This custom field was created by Jira Service Desk.",
"key": "customfield_10000",
"isLocked": true,
"searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:userpickergroupsearcher",
"screensCount": 2,
"contextsCount": 2,
"lastUsed": {
"type": "TRACKED",
"value": "2019-09-12T10:10:00.904+0000"
}
},
{
"id": "customfield_10001",
"name": "Change reason",
"schema": {
"type": "option",
"custom": "com.atlassian.jira.plugin.system.customfieldtypes:select",
"customId": 10001
},
"description": "Choose the reason for the change request",
"key": "customfield_10001",
"isLocked": false,
"searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:multiselectsearcher",
"screensCount": 2,
"contextsCount": 2,
"projectsCount": 2,
"lastUsed": {
"type": "NOT_TRACKED"
}
}
]
}
Request
Query Params
startAt
integerÂ
optional
maxResults
integerÂ
optional
type
array[string]
optional
id
array[string]
optional
query
is specified, filter.query
stringÂ
optional
orderBy
stringÂ
optional
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 fieldexpand
stringÂ
optional
key
returns the key 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 fieldResponses
Modified at 2023-07-13 03:27:27