---
ai:
  exclude: true
search:
  tags:
    - jql
    - GET
seo:
  description: >-
    Returns the auto complete data required for… Reference for the GET
    /api/2/jql/autocompletedata endpoint in the Jira Software Data Center REST
    API Reference.
sidebar:
  label: Get auto complete data for JQL searches
  badge: GET
title: Get auto complete data for JQL searches
type: openapi-operation
---
Returns the auto complete data required for JQL searches

`GET /api/2/jql/autocompletedata`

**Responses**

- `200` — The auto complete data required for JQL searches.
- `401` — Returned if the calling user is not authenticated.
- `500` — Returned if an error occurs while generating the response.

Response example, 200:

```json
{
  "jqlReservedWords": [
    "empty",
    "and",
    "or",
    "in",
    "distinct"
  ],
  "visibleFieldNames": [
    {
      "value": "affectedVersion",
      "displayName": "affectedVersion",
      "auto": "true",
      "orderable": "true",
      "searchable": "true",
      "operators": [
        "=",
        "!=",
        "in",
        "not in",
        "is",
        "is not",
        "<",
        "<=",
        ">",
        ">="
      ],
      "types": [
        "com.atlassian.crowd.embedded.api.User"
      ]
    },
    {
      "value": "assignee",
      "displayName": "assignee",
      "auto": "true",
      "orderable": "true",
      "searchable": "true",
      "operators": [
        "!=",
        "was not in",
        "not in",
        "was not",
        "is",
        "was in",
        "was",
        "=",
        "in",
        "changed",
        "is not"
      ],
      "types": [
        "com.atlassian.crowd.embedded.api.User"
      ]
    }
  ],
  "visibleFunctionNames": [
    {
      "value": "currentLogin()",
      "displayName": "currentLogin()",
      "types": [
        "java.util.Date"
      ]
    },
    {
      "value": "currentUser()",
      "displayName": "currentUser()",
      "types": [
        "com.atlassian.crowd.embedded.api.User"
      ]
    }
  ]
}
```
