# Find Jira fields with field/search: filters and expand

URL: https://goingstellar.ro/reference/jira-fields/search-fields/

GET /rest/api/3/field/search returns fields in pages and can narrow them by type, id or a name and description fragment. The expand parameter decides whether key, searcher, counts and last-used data come back, and without it the rows are short. GET /rest/api/3/field is the older unpaged list and also carries the JQL clause names.

## Endpoints

| Method | Path | What it does |
|---|---|---|
| GET | `/rest/api/3/field/search` | Paged search over fields, filtered by type, id, query, projectIds. |
| GET | `/rest/api/3/field/search/trashed` | Paged list of custom fields in the trash. |
| GET | `/rest/api/3/field` | Unpaged list of fields with clauseNames, orderable, navigable and searchable flags. |

## Examples

### GET /rest/api/3/field/search

Searches custom fields whose name or description contains a fragment, 50 per page, with the extra expand data. The first two rows show the shape.

```bash
curl -G \
  -u "you@example.com:$ATLASSIAN_API_TOKEN" \
  -H 'Accept: application/json' \
  --data-urlencode 'type=custom' \
  --data-urlencode 'query=zz-ref' \
  --data-urlencode 'expand=key,lastUsed,screensCount,contextsCount,isLocked,searcherKey' \
  --data-urlencode 'maxResults=50' \
  'https://your-domain.atlassian.net/rest/api/3/field/search'
```

```python
import os
import requests

EMAIL = "you@example.com"
r = requests.get(
    'https://your-domain.atlassian.net/rest/api/3/field/search',
    auth=(EMAIL, os.environ["ATLASSIAN_API_TOKEN"]),
    headers={'Accept': 'application/json'},
    params={'type': 'custom',
 'query': 'zz-ref',
 'expand': 'key,lastUsed,screensCount,contextsCount,isLocked,searcherKey',
 'maxResults': '50'},
)
print(r.status_code, r.text)
```

Response: HTTP 200

```
{
 "maxResults": 50,
 "startAt": 0,
 "total": 20,
 "isLast": true,
 "values": [
  {
   "id": "customfield_10168",
   "name": "zz-ref cascading",
   "schema": {
    "type": "option-with-child",
    "custom": "com.atlassian.jira.plugin.system.customfieldtypes:cascadingselect",
    "customId": 10168
   },
   "typeDisplayName": "Select List (cascading)",
   "description": "Temporary field for a reference page.",
   "key": "customfield_10168",
   "isLocked": false,
   "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:cascadingselectsearcher",
   "screensCount": 1,
   "contextsCount": 2,
   "areOptionsSupported": true,
   "isOptionsCountOverLimit": false,
   "lastUsed": {
    "type": "NO_INFORMATION"
   },
   "translatedName": "zz-ref cascading",
   "translatedDescription": "Temporary field for a reference page."
  },
  {
   "id": "customfield_10167",
   "name": "zz-ref checkboxes",
   "schema": {
    "type": "array",
    "items": "option",
    "custom": "com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes",
    "customId": 10167
   },
   "typeDisplayName": "Checkboxes",
   "description": "Temporary field for a reference page.",
   "key": "customfield_10167",
   "isLocked": false,
   "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:multiselectsearcher",
   "screensCount": 1,
   "contextsCount": 2,
   "areOptionsSupported": true,
   "isOptionsCountOverLimit": false,
   "lastUsed": {
    "type": "NO_INFORMATION"
   },
   "translatedName": "zz-ref checkboxes",
   "translatedDescription": "Temporary field for a reference page."
  }
 ]
}
```

Response headers:

```
X-Ratelimit-Limit: 350
X-Ratelimit-Remaining: 349
```

Sent to Atlassian Cloud on 29 Nov 2026.

### GET /rest/api/3/field/search

type=system returns the built-in fields. System rows have only id, name, schema, typeDisplayName and description.

```bash
curl -G \
  -u "you@example.com:$ATLASSIAN_API_TOKEN" \
  -H 'Accept: application/json' \
  --data-urlencode 'type=system' \
  --data-urlencode 'maxResults=5' \
  'https://your-domain.atlassian.net/rest/api/3/field/search'
```

```python
import os
import requests

EMAIL = "you@example.com"
r = requests.get(
    'https://your-domain.atlassian.net/rest/api/3/field/search',
    auth=(EMAIL, os.environ["ATLASSIAN_API_TOKEN"]),
    headers={'Accept': 'application/json'},
    params={'type': 'system', 'maxResults': '5'},
)
print(r.status_code, r.text)
```

Response: HTTP 200

```
{
 "maxResults": 5,
 "total": 44,
 "isLast": false,
 "values": [
  {
   "id": "versions",
   "name": "Affects versions",
   "schema": {
    "type": "array",
    "items": "version",
    "system": "versions"
   },
   "typeDisplayName": "Affects versions",
   "description": ""
  },
  {
   "id": "assignee",
   "name": "Assignee",
   "schema": {
    "type": "user",
    "system": "assignee"
   },
   "typeDisplayName": "Assignee",
   "description": ""
  }
 ]
}
```

Sent to Atlassian Cloud on 29 Nov 2026.

### GET /rest/api/3/field/search

Filters to one field by id and asks for key, searcher and the three counts.

```bash
curl -G \
  -u "you@example.com:$ATLASSIAN_API_TOKEN" \
  -H 'Accept: application/json' \
  --data-urlencode 'id=customfield_10164' \
  --data-urlencode 'expand=key,searcherKey,screensCount,contextsCount,projectsCount' \
  'https://your-domain.atlassian.net/rest/api/3/field/search'
```

```python
import os
import requests

EMAIL = "you@example.com"
r = requests.get(
    'https://your-domain.atlassian.net/rest/api/3/field/search',
    auth=(EMAIL, os.environ["ATLASSIAN_API_TOKEN"]),
    headers={'Accept': 'application/json'},
    params={'id': 'customfield_10164', 'expand': 'key,searcherKey,screensCount,contextsCount,projectsCount'},
)
print(r.status_code, r.text)
```

Response: HTTP 200

```
{
 "maxResults": 50,
 "startAt": 0,
 "total": 1,
 "isLast": true,
 "values": [
  {
   "id": "customfield_10164",
   "name": "zz-ref select",
   "schema": {
    "type": "option",
    "custom": "com.atlassian.jira.plugin.system.customfieldtypes:select",
    "customId": 10164
   },
   "typeDisplayName": "Select List (single choice)",
   "description": "Temporary field for a reference page.",
   "key": "customfield_10164",
   "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:multiselectsearcher",
   "screensCount": 1,
   "contextsCount": 2,
   "projectsCount": 2,
   "areOptionsSupported": true,
   "isOptionsCountOverLimit": false,
   "translatedName": "zz-ref select",
   "translatedDescription": "Temporary field for a reference page."
  }
 ]
}
```

Sent to Atlassian Cloud on 29 Nov 2026.

### GET /rest/api/3/field/search

Same id filter without expand. The row has no key, searcherKey or counts, only the base data and the options flags.

```bash
curl -G \
  -u "you@example.com:$ATLASSIAN_API_TOKEN" \
  -H 'Accept: application/json' \
  --data-urlencode 'id=customfield_10181' \
  'https://your-domain.atlassian.net/rest/api/3/field/search'
```

```python
import os
import requests

EMAIL = "you@example.com"
r = requests.get(
    'https://your-domain.atlassian.net/rest/api/3/field/search',
    auth=(EMAIL, os.environ["ATLASSIAN_API_TOKEN"]),
    headers={'Accept': 'application/json'},
    params={'id': 'customfield_10181'},
)
print(r.status_code, r.text)
```

Response: HTTP 200

```
{
 "maxResults": 50,
 "startAt": 0,
 "total": 1,
 "isLast": true,
 "values": [
  {
   "id": "customfield_10181",
   "name": "zz-ref readonly",
   "schema": {
    "type": "string",
    "custom": "com.atlassian.jira.plugin.system.customfieldtypes:readonlyfield",
    "customId": 10181
   },
   "typeDisplayName": "Text Field (read only)",
   "description": "Temporary field for a reference page.",
   "areOptionsSupported": false,
   "isOptionsCountOverLimit": false,
   "translatedName": "zz-ref readonly",
   "translatedDescription": "Temporary field for a reference page."
  }
 ]
}
```

Sent to Atlassian Cloud on 29 Nov 2026.

### GET /rest/api/3/field

The unpaged list is a bare JSON array. Each row has custom, orderable, navigable, searchable and clauseNames, which are the names JQL accepts for that field.

```bash
curl \
  -u "you@example.com:$ATLASSIAN_API_TOKEN" \
  -H 'Accept: application/json' \
  'https://your-domain.atlassian.net/rest/api/3/field'
```

```python
import os
import requests

EMAIL = "you@example.com"
r = requests.get(
    'https://your-domain.atlassian.net/rest/api/3/field',
    auth=(EMAIL, os.environ["ATLASSIAN_API_TOKEN"]),
    headers={'Accept': 'application/json'},
)
print(r.status_code, r.text)
```

Response: HTTP 200

```
[
 {
  "id": "statuscategorychangedate",
  "name": "Status category changed",
  "custom": false,
  "orderable": false,
  "navigable": true,
  "searchable": true,
  "clauseNames": [
   "statusCategoryChangedDate"
  ]
 },
 {
  "id": "customfield_10076",
  "name": "Incident manager",
  "custom": true,
  "orderable": true,
  "navigable": true,
  "searchable": true,
  "clauseNames": [
   "Incident manager[User Picker (single user)]",
   "Incident manager",
   "cf[10076]"
  ]
 }
]
```

Response headers:

```
X-Ratelimit-Limit: 350
```

Sent to Atlassian Cloud on 29 Nov 2026.

## How it behaves

- The paged envelope carries startAt, maxResults, total and isLast. With 50 requested and 20 custom matches, total was 20 and isLast true; type=system with maxResults 5 gave total 44 and isLast false.
- expand=key,lastUsed,screensCount,contextsCount,isLocked,searcherKey adds those properties to each row; the same lookup without expand returns neither the searcherKey nor the counts. lastUsed.type was NO_INFORMATION for most fields and NOT_TRACKED for the project picker and the read-only text field.
- GET /rest/api/3/field answers with a plain array, no paging. It held 110 entries, 66 of them with custom true, and each entry lists clauseNames such as 'cf[10164]' and the field name for custom fields.
- Trashed fields are listed only by /field/search/trashed, which also returns trashedDate, trashedBy and plannedDeletionDate.

## Pitfalls

- id is a repeated filter on customfield ids, not a name; a name goes into query, which does a case-insensitive partial match on name and description.
- The searcherKey, counts and lastUsed are present only when named in expand, so a client that reads searcherKey without asking for it sees nothing.
- The unpaged list depends on what the caller may see; the spec says fields not tied to a used field configuration or screen are left out.

## Questions and answers

### How do I find the id of a custom field from its name?

Call GET /rest/api/3/field/search with type=custom and query set to part of the name, then read id from the matching row. Names are not unique, so check typeDisplayName or the description when several rows match.

### Why is searcherKey missing from the row?

It is only returned when expand includes searcherKey.

## Related

- [Create a custom field: types and searchers](https://goingstellar.ro/reference/jira-fields/create-custom-field/)
- [Custom field contexts](https://goingstellar.ro/reference/jira-fields/field-contexts/)
- [Trash, restore and delete a custom field](https://goingstellar.ro/reference/jira-fields/trash-restore-delete-field/)
- [JQL on custom fields](https://goingstellar.ro/reference/jira-fields/jql-on-custom-fields/)
- [Reading field values: names, schema, v2 and v3](https://goingstellar.ro/reference/jira-fields/reading-field-values/)
- [Field ids, keys and names](https://goingstellar.ro/reference/jira-fields/field-ids-and-names/)

## Sources

- [Issue fields (Jira REST API v3)](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-fields/)

