v4

OpenAPI 3.0.1Apache 2.02026-08-016169702.3 MB
Filters

Get my filters

Returns the filters owned by the user. If includeFavourites is true, the user's visible favorite filters are also returned.

Permissions required: Permission to access Jira, however, a favorite filters 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.

get/rest/api/3/filter/my

Query parameters

expandstring

Use 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].
includeFavouritesboolean

Include the user's favorite filters in the response.

Response

Returned if the request is successful.

approximateLastUsedstring date-time

[Experimental] Approximate last used time. Returns the date and time when the filter was last used. Returns null if the filter hasn't been used after tracking was enabled. For performance reasons, timestamps aren't updated in real time and therefore may not be exactly accurate.

descriptionstring

A description of the filter.

favouriteboolean

Whether the filter is selected as a favorite.

favouritedCountinteger

The count of how many users have selected this filter as a favorite, including the filter owner.

idstring

The unique identifier for the filter.

jqlstring

The JQL query for the filter. For example, project = SSP AND issuetype = Bug.

namestring required

The name of the filter. Must be unique.

searchUrlstring uri

A URL to view the filter results in Jira, using the Search for issues using JQL operation with the filter's JQL string to return the filter results. For example, https://your-domain.atlassian.net/rest/api/3/search?jql=project+%3D+SSP+AND+issuetype+%3D+Bug.

selfstring uri

The URL of the filter.

viewUrlstring uri

A URL to view the filter results in Jira, using the ID of the filter. For example, https://your-domain.atlassian.net/issues/?filter=10100.