---
ai:
  exclude: true
search:
  tags:
    - customFields
    - GET
seo:
  description: >-
    Returns a list of Custom Fields in the given range. Reference for the GET
    /api/2/customFields endpoint in the Jira Software Data Center REST API
    Reference.
sidebar:
  label: Get custom fields with pagination
  badge: GET
title: Get custom fields with pagination
type: openapi-operation
---
Returns a list of Custom Fields in the given range.

`GET /api/2/customFields`

**Responses**

- `200` — Returned if a custom field with the given customFieldId exists and user has permission to it.
- `404` — Returned if a custom field with the given customFieldId does not exist or the user does not have permission to view it.

Response example, 200:

```json
{
  "description": "Custom field for picking groups",
  "id": "10000",
  "isAllProjects": false,
  "isLocked": false,
  "isManaged": false,
  "isTrusted": true,
  "issueTypeIds": [
    "1",
    "2"
  ],
  "issuesWithValue": 100,
  "lastValueUpdate": "2018-11-01T12:00:00Z",
  "name": "New custom field",
  "numericId": 10000,
  "projectIds": [
    10000,
    10001
  ],
  "projectsCount": 2,
  "screensCount": 3,
  "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:grouppickersearcher",
  "self": "http://localhost:8090/jira/rest/api/2.0/customField/10000",
  "type": "com.atlassian.jira.plugin.system.customfieldtypes:grouppicker"
}
```
