Get Favorite Filters

GET {{baseUrl}}/rest/api/3/filter/favourite?expand=<string>

Returns the visible favorite filters of the user.

This operation can be accessed anonymously.

Permissions required: A favorite filter is only visible to the user where the filter is:

  • owned by the user.
  • shared with a group that the user is a member of.
  • shared with a private project that the user has Browse projects project permission for.
  • shared with a public project.
  • shared with the public.

For example, if the user favorites a public filter that is subsequently made private that filter is not returned by this operation.

Request Params

KeyDatatypeRequiredDescription
expandstringUse expand to include additional information about filter in the response. This parameter accepts a comma-separated list. Expand options include:
  • 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]. |

RESPONSES

status: OK

[{&quot;self&quot;:&quot;https://your-domain.atlassian.net/rest/api/3/filter/10000&quot;,&quot;id&quot;:&quot;10000&quot;,&quot;name&quot;:&quot;All Open Bugs&quot;,&quot;description&quot;:&quot;Lists all open bugs&quot;,&quot;owner&quot;:{&quot;self&quot;:&quot;https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g&quot;,&quot;key&quot;:&quot;&quot;,&quot;accountId&quot;:&quot;5b10a2844c20165700ede21g&quot;,&quot;name&quot;:&quot;&quot;,&quot;avatarUrls&quot;:{&quot;48x48&quot;:&quot;https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48\u0026s=48&quot;,&quot;24x24&quot;:&quot;https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24\u0026s=24&quot;,&quot;16x16&quot;:&quot;https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16\u0026s=16&quot;,&quot;32x32&quot;:&quot;https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32\u0026s=32&quot;},&quot;displayName&quot;:&quot;Mia Krystof&quot;,&quot;active&quot;:false},&quot;jql&quot;:&quot;type = Bug and resolution is empty&quot;,&quot;viewUrl&quot;:&quot;https://your-domain.atlassian.net/issues/?filter=10000&quot;,&quot;searchUrl&quot;:&quot;https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty&quot;,&quot;favourite&quot;:true,&quot;favouritedCount&quot;:0,&quot;sharePermissions&quot;:[],&quot;subscriptions&quot;:{&quot;size&quot;:0,&quot;items&quot;:[],&quot;max-results&quot;:0,&quot;start-index&quot;:0,&quot;end-index&quot;:0}},{&quot;self&quot;:&quot;https://your-domain.atlassian.net/rest/api/3/filter/10010&quot;,&quot;id&quot;:&quot;10010&quot;,&quot;name&quot;:&quot;My issues&quot;,&quot;description&quot;:&quot;Issues assigned to me&quot;,&quot;owner&quot;:{&quot;self&quot;:&quot;https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g&quot;,&quot;key&quot;:&quot;&quot;,&quot;accountId&quot;:&quot;5b10a2844c20165700ede21g&quot;,&quot;name&quot;:&quot;&quot;,&quot;avatarUrls&quot;:{&quot;48x48&quot;:&quot;https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48\u0026s=48&quot;,&quot;24x24&quot;:&quot;https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24\u0026s=24&quot;,&quot;16x16&quot;:&quot;https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16\u0026s=16&quot;,&quot;32x32&quot;:&quot;https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32\u0026s=32&quot;},&quot;displayName&quot;:&quot;Mia Krystof&quot;,&quot;active&quot;:false},&quot;jql&quot;:&quot;assignee = currentUser() and resolution is empty&quot;,&quot;viewUrl&quot;:&quot;https://your-domain.atlassian.net/issues/?filter=10010&quot;,&quot;searchUrl&quot;:&quot;https://your-domain.atlassian.net/rest/api/3/search?jql=assignee+in+%28currentUser%28%29%29+and+resolution+is+empty&quot;,&quot;favourite&quot;:true,&quot;favouritedCount&quot;:0,&quot;sharePermissions&quot;:[{&quot;id&quot;:10000,&quot;type&quot;:&quot;global&quot;},{&quot;id&quot;:10010,&quot;type&quot;:&quot;project&quot;,&quot;project&quot;:{&quot;self&quot;:&quot;https://your-domain.atlassian.net/rest/api/3/project/EX&quot;,&quot;id&quot;:&quot;10000&quot;,&quot;key&quot;:&quot;EX&quot;,&quot;name&quot;:&quot;Example&quot;,&quot;avatarUrls&quot;:{&quot;48x48&quot;:&quot;https://your-domain.atlassian.net/secure/projectavatar?size=large\u0026pid=10000&quot;,&quot;24x24&quot;:&quot;https://your-domain.atlassian.net/secure/projectavatar?size=small\u0026pid=10000&quot;,&quot;16x16&quot;:&quot;https://your-domain.atlassian.net/secure/projectavatar?size=xsmall\u0026pid=10000&quot;,&quot;32x32&quot;:&quot;https://your-domain.atlassian.net/secure/projectavatar?size=medium\u0026pid=10000&quot;},&quot;projectCategory&quot;:{&quot;self&quot;:&quot;https://your-domain.atlassian.net/rest/api/3/projectCategory/10000&quot;,&quot;id&quot;:&quot;10000&quot;,&quot;name&quot;:&quot;FIRST&quot;,&quot;description&quot;:&quot;First Project Category&quot;},&quot;simplified&quot;:false,&quot;style&quot;:&quot;classic&quot;,&quot;insight&quot;:{&quot;totalIssueCount&quot;:100,&quot;lastIssueUpdateTime&quot;:&quot;2020-12-17T01:45:38.377+0000&quot;}}}],&quot;subscriptions&quot;:{&quot;size&quot;:0,&quot;items&quot;:[],&quot;max-results&quot;:0,&quot;start-index&quot;:0,&quot;end-index&quot;:0}}]