Get my filters
GET
/rest/api/3/filter/my
Filters
includeFavourites
is true
, the user's visible favorite filters are also returned.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://jira.local:8080/jira/rest//rest/api/3/filter/my'
Response Response Example
200 - Success
[
{
"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": true,
"favouritedCount": 0,
"sharePermissions": [],
"editPermissions": [],
"subscriptions": {
"size": 0,
"items": [],
"max-results": 0,
"start-index": 0,
"end-index": 0
}
},
{
"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": 0,
"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": [],
"subscriptions": {
"size": 0,
"items": [],
"max-results": 0,
"start-index": 0,
"end-index": 0
}
}
]
Request
Query Params
expand
string
optional
sharedUsers
Returns the users that the filter is shared with. This includes users that can browse projects that the filter is shared with. If you don't specify sharedUsers
, then the sharedUsers
object is returned but it doesn't list any users. The list of users returned is limited to 1000, to access additional users append [start-index:end-index]
to the expand request. For example, to access the next 1000 users, use ?expand=sharedUsers[1001:2000]
.subscriptions
Returns the users that are subscribed to the filter. If you don't specify subscriptions
, the subscriptions
object is returned but it doesn't list any subscriptions. The list of subscriptions returned is limited to 1000, to access additional subscriptions append [start-index:end-index]
to the expand request. For example, to access the next 1000 subscriptions, use ?expand=subscriptions[1001:2000]
.includeFavourites
string
optional
Responses
Modified at 2023-07-13 03:27:27