---
ai:
  exclude: true
search:
  tags:
    - filter
    - GET
seo:
  description: >-
    Returns the default columns for the given… Reference for the GET
    /api/2/filter/{id}/columns endpoint in the Jira Software Data Center REST
    API Reference.
sidebar:
  label: Get default columns for filter
  badge: GET
title: Get default columns for filter
type: openapi-operation
---
Returns the default columns for the given filter. Currently logged in user will be used as the user making such request.

`GET /api/2/filter/{id}/columns`

**Responses**

- `200` — Returns a list of columns for configured for the given user
- `404` — Returned if the filter does not have any columns.
- `500` — Returned if an error occurs while retrieving the column configuration.

Response example, 200:

```json
{
  "columnConfig": "SYSTEM",
  "columnLayoutItems": [
    {
      "columnHeadingKey": "string",
      "id": "string",
      "navigableField": {
        "columnCssClass": "string",
        "columnHeadingKey": "string",
        "defaultSortOrder": "string",
        "hiddenFieldId": "string",
        "id": "string",
        "name": "string",
        "nameKey": "string",
        "valueLoader": {
          "comparator": {}
        }
      },
      "position": 0
    }
  ]
}
```
