Search For Filters

GET {{baseUrl}}/rest/api/3/filter/search?filterName=<string>&accountId=<string>&owner=<string>&groupname=<string>&projectId=<long>&id=<long>&orderBy=name&startAt=0&maxResults=50&expand=<string>

Returns a paginated list of filters. Use this operation to get:

  • specific filters, by defining id only.
  • filters that match all of the specified attributes. For example, all filters for a user with a particular word in their name. When multiple attributes are specified only filters matching all attributes are returned.

This operation can be accessed anonymously.

Permissions required: None, however, only the following filters that match the query parameters are returned:

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

Request Params

KeyDatatypeRequiredDescription
filterNamestringString used to perform a case-insensitive partial match with name.
accountIdstringUser account ID used to return filters with the matching owner.accountId. This parameter cannot be used with owner.
ownerstringThis parameter is deprecated because of privacy changes. Use 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.
groupnamestringGroup name used to returns filters that are shared with a group that matches sharePermissions.group.groupname.
projectIdstringProject ID used to returns filters that are shared with a project that matches sharePermissions.project.id.
idstringThe list of filter IDs. To include multiple IDs, provide an ampersand-separated list. For example, id=10000&amp;id=10001.
orderBystringOrder the results by a field:
  • 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. | | startAt | number | | The index of the first item to return in a page of results (page offset). | | maxResults | number | | The maximum number of items to return per page. | | expand | string | | Use expand to include additional information about filter in the response. This parameter accepts a comma-separated list. Expand options include:

  • 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.

  • subscriptions Returns the users that are subscribed to the filter.

  • viewUrl Returns a URL to view the filter. |

RESPONSES

status: OK

{&quot;self&quot;:&quot;https://your-domain.atlassian.net/rest/api/3/filter/search?accountId=\u0026maxResults=50\u0026filterName=\u0026orderBy=name\u0026startAt=0&quot;,&quot;maxResults&quot;:100,&quot;startAt&quot;:0,&quot;total&quot;:2,&quot;isLast&quot;:true,&quot;values&quot;:[{&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;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;id&quot;:1,&quot;user&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;emailAddress&quot;:&quot;mia@example.com&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;:true,&quot;timeZone&quot;:&quot;Australia/Sydney&quot;,&quot;groups&quot;:{&quot;size&quot;:3,&quot;items&quot;:[]},&quot;applicationRoles&quot;:{&quot;size&quot;:1,&quot;items&quot;:[]}}}]}]}