Search for filters
GET
/rest/api/3/filter/search
Filters
id
only.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://jira.local:8080/jira/rest//rest/api/3/filter/search'
Response Response Example
200 - Success
{
"self": "https://your-domain.atlassian.net/rest/api/3/filter/search?accountId=&maxResults=50&filterName=&orderBy=name&startAt=0&expand=description,owner,jql,searchUrl,viewUrl,favourite,favouritedCount,sharePermissions,editPermissions,isWritable,subscriptions",
"maxResults": 100,
"startAt": 0,
"total": 2,
"isLast": true,
"values": [
{
"expand": "description,owner,jql,searchUrl,viewUrl,favourite,favouritedCount,sharePermissions,editPermissions,isWritable,subscriptions",
"self": "https://your-domain.atlassian.net/rest/api/3/filter/10000",
"id": "10000",
"name": "All Open Bugs",
"description": "Lists all open bugs",
"owner": {
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
"key": "",
"accountId": "5b10a2844c20165700ede21g",
"accountType": "atlassian",
"name": "",
"avatarUrls": {
"48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48",
"24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
"16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
"32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32"
},
"displayName": "Mia Krystof",
"active": false
},
"jql": "type = Bug and resolution is empty",
"viewUrl": "https://your-domain.atlassian.net/issues/?filter=10000",
"searchUrl": "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
"favourite": false,
"favouritedCount": 0,
"sharePermissions": [],
"editPermissions": [],
"subscriptions": []
},
{
"expand": "description,owner,jql,searchUrl,viewUrl,favourite,favouritedCount,sharePermissions,editPermissions,isWritable,subscriptions",
"self": "https://your-domain.atlassian.net/rest/api/3/filter/10010",
"id": "10010",
"name": "My issues",
"description": "Issues assigned to me",
"owner": {
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
"key": "",
"accountId": "5b10a2844c20165700ede21g",
"accountType": "atlassian",
"name": "",
"avatarUrls": {
"48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48",
"24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
"16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
"32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32"
},
"displayName": "Mia Krystof",
"active": false
},
"jql": "assignee = currentUser() and resolution is empty",
"viewUrl": "https://your-domain.atlassian.net/issues/?filter=10010",
"searchUrl": "https://your-domain.atlassian.net/rest/api/3/search?jql=assignee+in+%28currentUser%28%29%29+and+resolution+is+empty",
"favourite": true,
"favouritedCount": 123,
"sharePermissions": [
{
"id": 10000,
"type": "global"
},
{
"id": 10010,
"type": "project",
"project": {
"self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
"id": "10000",
"key": "EX",
"name": "Example",
"avatarUrls": {
"48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000",
"24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
"16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
"32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000"
},
"projectCategory": {
"self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000",
"id": "10000",
"name": "FIRST",
"description": "First Project Category"
},
"simplified": false,
"style": "classic",
"insight": {
"totalIssueCount": 100,
"lastIssueUpdateTime": "2023-07-12T06:03:00.831+0000"
}
}
}
],
"editPermissions": [
{
"id": 10010,
"type": "project",
"project": {
"self": "https://your-domain.atlassian.net/rest/api/3/project/MKY",
"id": "10002",
"key": "MKY",
"name": "Example",
"avatarUrls": {
"48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10002",
"24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10002",
"16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10002",
"32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10002"
},
"projectCategory": {
"self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000",
"id": "10000",
"name": "FIRST",
"description": "First Project Category"
},
"simplified": false,
"style": "classic",
"insight": {
"totalIssueCount": 100,
"lastIssueUpdateTime": "2023-07-12T06:03:00.831+0000"
},
"deleted": true,
"retentionTillDate": "2023-09-10T06:03:00.832+0000",
"deletedDate": "2023-07-12T06:03:00.832+0000",
"deletedBy": {
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
"key": "",
"accountId": "5b10a2844c20165700ede21g",
"accountType": "atlassian",
"name": "",
"avatarUrls": {
"48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48",
"24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
"16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
"32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32"
},
"displayName": "Mia Krystof",
"active": false
}
},
"role": {
"self": "https://your-domain.atlassian.net/rest/api/3/project/MKY/role/10360",
"name": "Developers",
"id": 10360,
"description": "A project role that represents developers in a project",
"actors": [
{
"id": 10240,
"displayName": "jira-developers",
"type": "atlassian-group-role-actor",
"name": "jira-developers",
"actorGroup": {
"name": "jira-developers",
"displayName": "jira-developers",
"groupId": "952d12c3-5b5b-4d04-bb32-44d383afc4b2"
}
},
{
"id": 10241,
"displayName": "Mia Krystof",
"type": "atlassian-user-role-actor",
"actorUser": {
"accountId": "5b10a2844c20165700ede21g"
}
}
],
"scope": {
"type": "PROJECT",
"project": {
"id": "10000",
"key": "KEY",
"name": "Next Gen Project"
}
}
}
},
{
"id": 10010,
"type": "group",
"group": {
"name": "jira-administrators",
"groupId": "276f955c-63d7-42c8-9520-92d01dca0625",
"self": "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
}
}
],
"subscriptions": [
{
"id": 1,
"user": {
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
"key": "",
"accountId": "5b10a2844c20165700ede21g",
"accountType": "atlassian",
"name": "",
"emailAddress": "mia@example.com",
"avatarUrls": {
"48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48",
"24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
"16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
"32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32"
},
"displayName": "Mia Krystof",
"active": true,
"timeZone": "Australia/Sydney",
"groups": {
"size": 3,
"items": []
},
"applicationRoles": {
"size": 1,
"items": []
}
}
}
]
}
]
}
Request
Query Params
filterName
string
optional
name
.accountId
string
optional
owner.accountId
. This parameter cannot be used with owner
.owner
string
optional
accountId
instead. See the migration guide for details. User name used to return filters with the matching owner.name
. This parameter cannot be used with accountId
.groupname
string
optional
groupId
is recommended to identify a group. Group name used to returns filters that are shared with a group that matches sharePermissions.group.groupname
. This parameter cannot be used with the groupId
parameter.groupId
string
optional
sharePermissions.group.groupId
. This parameter cannot be used with the groupname
parameter.projectId
integer
optional
sharePermissions.project.id
.id
array[string]
optional
id=10000&id=10001
. Do not exceed 200 filter IDs.orderBy
string
optional
description
Sorts by filter description. Note that this sorting works independently of whether the expand to display the description field is in use.favourite_count
Sorts by the count of how many users have this filter as a favorite.is_favourite
Sorts by whether the filter is marked as a favorite.id
Sorts by filter ID.name
Sorts by filter name.owner
Sorts by the ID of the filter owner.is_shared
Sorts by whether the filter is shared.startAt
integer
optional
maxResults
integer
optional
expand
string
optional
description
Returns the description of the filter.favourite
Returns an indicator of whether the user has set the filter as a favorite.favouritedCount
Returns a count of how many users have set this filter as a favorite.jql
Returns the JQL query that the filter uses.owner
Returns the owner of the filter.searchUrl
Returns a URL to perform the filter's JQL query.sharePermissions
Returns the share permissions defined for the filter.editPermissions
Returns the edit permissions defined for the filter.isWritable
Returns whether the current user has permission to edit the filter.subscriptions
Returns the users that are subscribed to the filter.viewUrl
Returns a URL to view the filter.overrideSharePermissions
string
optional
Responses
Modified at 2023-07-13 03:27:27