Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get a filter by ID

Returns a filter given an id

GET/api/2/filter/{id}
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Path parameters
idstringrequired

The filter id.

Query parameters
expandStringList
Responses
200

Returns a filter

descriptionstring
editableboolean
favouriteboolean
idstring
jqlstring
namestring
ownerUserBean
Show properties
activeboolean
applicationRolesSimpleListWrapperApplicationRoleBean
Show properties
callbackListWrapperCallbackApplicationRoleBean
maxResultsinteger<int32>
pagingCallbackListWrapperCallbackApplicationRoleBean
sizeinteger<int32>
avatarUrlsobject
deletedboolean
displayNamestring
emailAddressstring
expandstring
groupsSimpleListWrapperGroupJsonBean
Show properties
callbackListWrapperCallbackGroupJsonBean
maxResultsinteger<int32>
pagingCallbackListWrapperCallbackGroupJsonBean
sizeinteger<int32>
keystring
lastLoginTimestring
localestring
namestring
selfstring<uri>
timeZonestring
searchUrlstring<uri>
selfstring<uri>
sharePermissionsFilterPermissionBean[]
Show properties
Array of FilterPermissionBean
editboolean
groupGroupJsonBean
Show properties
namestring
selfstring<uri>
idinteger<int64>
projectProjectBean
Show properties
archivedboolean
avatarUrlsobject
descriptionstring
idstring
keystring
namestring
selfstring<uri>
roleProjectRoleBean
Show properties
actorsRoleActorBean[]
Show properties
Array of RoleActorBean
namestring
descriptionstring
idinteger<int64>
namestring
selfstring<uri>
typestring
userUserBean
Show properties
activeboolean
applicationRolesSimpleListWrapperApplicationRoleBean
avatarUrlsobject
deletedboolean
displayNamestring
emailAddressstring
expandstring
groupsSimpleListWrapperGroupJsonBean
keystring
lastLoginTimestring
localestring
namestring
selfstring<uri>
timeZonestring
viewboolean
sharedUsersUserBeanListWrapper
Show properties
backingListSizeinteger<int32>
callbackListWrapperCallbackUserBean
itemsUserBean[]
Show properties
Array of UserBean
activeboolean
applicationRolesSimpleListWrapperApplicationRoleBean
avatarUrlsobject
deletedboolean
displayNamestring
emailAddressstring
expandstring
groupsSimpleListWrapperGroupJsonBean
keystring
lastLoginTimestring
localestring
namestring
selfstring<uri>
timeZonestring
maxResultsinteger<int32>
pagingCallbackListWrapperCallbackUserBean
sizeinteger<int32>
viewUrlstring<uri>
401

Returned if user is not logged-in and don't have access to any project

Try it
Server
Authorization
Parameters
Request
curl -X GET 'http://jira.example.com/rest/api/2/filter/string' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "description": "Lists all open bugs",
  "editable": false,
  "favourite": true,
  "id": "10000",
  "jql": "type = Bug and resolution is empty",
  "name": "All Open Bugs",
  "owner": {
    "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"
  },
  "searchUrl": "http://www.example.com/jira/rest/api/2/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
  "self": "http://www.example.com/jira/rest/api/2/filter/10000",
  "sharePermissions": [],
  "sharedUsers": {
    "backingListSize": 0,
    "callback": {},
    "items": [],
    "maxResults": 50,
    "pagingCallback": {},
    "size": 50
  },
  "viewUrl": "http://www.example.com/jira/issues/?filter=10000"
}

Was this page helpful?