---
ai:
  exclude: true
search:
  tags:
    - filter
    - GET
seo:
  description: >-
    Returns all share permissions of the given… Reference for the GET
    /api/2/filter/{id}/permission endpoint in the Jira Software Data Center REST
    API Reference.
sidebar:
  label: Get all share permissions of filter
  badge: GET
title: Get all share permissions of filter
type: openapi-operation
---
Returns all share permissions of the given filter

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

**Responses**

- `200` — Returns a list of share permissions associated with the given filter
- `401` — Returned if user is not logged in.
- `404` — Returned when filter with given id does not exist or when the user does not have permissions to view the filter.

Response example, 200:

```json
{
  "edit": false,
  "group": {
    "name": "jira-administrators",
    "self": "http://www.example.com/jira/rest/api/2/group?groupname=jira-administrators"
  },
  "id": 10000,
  "project": {
    "archived": false,
    "avatarUrls": "http://www.example.com/jira/secure/projectavatar?size=xsmall&pid=10000",
    "description": "Example",
    "id": "10000",
    "key": "EX",
    "name": "Example",
    "self": "http://www.example.com/jira/rest/api/2/project/EX"
  },
  "role": {
    "actors": [
      {
        "name": "jira-developers"
      }
    ],
    "description": "A project role that represents developers in a project",
    "id": 10360,
    "name": "Developers",
    "self": "http://www.example.com/jira/rest/api/2/project/MKY/role/10360"
  },
  "type": "global",
  "user": {
    "active": true,
    "applicationRoles": [
      "jira-core",
      "jira-admin",
      "important"
    ],
    "avatarUrls": {
      "48x48": "http://www.example.com/jira/secure/useravatar?size=large&ownerId=fred",
      "24x24": "http://www.example.com/jira/secure/useravatar?size=small&ownerId=fred",
      "16x16": "http://www.example.com/jira/secure/useravatar?size=xsmall&ownerId=fred",
      "32x32": "http://www.example.com/jira/secure/useravatar?size=medium&ownerId=fred"
    },
    "deleted": false,
    "displayName": "Fred F. User",
    "emailAddress": "fred@example.com",
    "expand": "string",
    "groups": {
      "callback": {},
      "maxResults": 0,
      "pagingCallback": {},
      "size": 0
    },
    "key": "JIRAUSER10100",
    "lastLoginTime": "2023-08-30T16:37:01+1000",
    "locale": "en_AU",
    "name": "fred",
    "self": "http://www.example.com/jira/rest/api/2.0/user?username=fred",
    "timeZone": "Australia/Sydney"
  },
  "view": true
}
```
