Internal
Create a new instance of the service.
Changes the owner of the filter.
Permissions required: Permission to access Jira. However, the user must own the filter or have the Administer Jira global permission.
The account ID of the new owner of the filter.
The ID of the filter to update.
Returned if the request is successful.
Creates a filter. The filter is shared according to the default share scope. The filter is not selected as a favorite.
Permissions required: Permission to access Jira.
Optional
expand?: stringUse 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]
.The filter to create.
Optional
overrideEXPERIMENTAL: Whether share permissions are overridden to enable filters with any share permissions to be created. Available to users with Administer Jira global permission.
Returned if the request is successful.
example:
{
"approximateLastUsed": null,
"description": "Lists all open bugs",
"favourite": true,
"favouritedCount": 0,
"id": "10000",
"jql": "type = Bug and resolution is empty",
"name": "All Open Bugs",
"owner": {
"accountId": "5b10a2844c20165700ede21g",
"accountType": "atlassian",
"active": false,
"avatarUrls": {
"16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
"24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
"32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
"48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
},
"displayName": "Mia Krystof",
"key": "",
"name": "",
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
},
"searchUrl": "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
"self": "https://your-domain.atlassian.net/rest/api/3/filter/10000",
"sharePermissions": [],
"subscriptions": {
"end-index": 0,
"items": [],
"max-results": 0,
"size": 0,
"start-index": 0
},
"viewUrl": "https://your-domain.atlassian.net/issues/?filter=10000"
}
POST /rest/api/3/filter
@scopes-current write:jira-work
@scopes-beta read:filter:jira, read:group:jira, read:project:jira, read:project-role:jira, read:user:jira, write:filter:jira, read:application-role:jira, read:avatar:jira, read:issue-type-hierarchy:jira, read:issue-type:jira, read:project-category:jira, read:project-version:jira, read:project.component:jira
Removes a filter as a favorite for the user. Note that this operation only removes filters visible to the user from the user's favorites list. For example, if the user favorites a public filter that is subsequently made private (and is therefore no longer visible on their favorites list) they cannot remove it from their favorites list.
Permissions required: Permission to access Jira.
Optional
expand?: stringUse 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]
.The ID of the filter.
Returned if the request is successful.
example:
{
"approximateLastUsed": "2023-03-01T13:15:00.000+0000",
"description": "Lists all open bugs",
"favourite": true,
"favouritedCount": 0,
"id": "10000",
"jql": "type = Bug and resolution is empty",
"name": "All Open Bugs",
"owner": {
"accountId": "5b10a2844c20165700ede21g",
"accountType": "atlassian",
"active": false,
"avatarUrls": {
"16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
"24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
"32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
"48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
},
"displayName": "Mia Krystof",
"key": "",
"name": "",
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
},
"searchUrl": "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
"self": "https://your-domain.atlassian.net/rest/api/3/filter/10000",
"sharePermissions": [],
"subscriptions": {
"end-index": 0,
"items": [],
"max-results": 0,
"size": 0,
"start-index": 0
},
"viewUrl": "https://your-domain.atlassian.net/issues/?filter=10000"
}
DELETE /rest/api/3/filter/{id}/favourite
@scopes-current write:jira-work
@scopes-beta write:filter:jira, read:application-role:jira, read:avatar:jira, read:filter:jira, read:group:jira, read:issue-type-hierarchy:jira, read:issue-type:jira, read:project-category:jira, read:project-role:jira, read:project-version:jira, read:project.component:jira, read:project:jira, read:user:jira
Delete a filter.
Permissions required: Permission to access Jira, however filters can only be deleted by the creator of the filter or a user with Administer Jira global permission.
The ID of the filter to delete.
Returns the columns configured for a filter. The column configuration is used when the filter's results are viewed in List View with the Columns set to Filter.
This operation can be accessed anonymously.
Permissions required: None, however, column details are only returned for:
The ID of the filter.
Returned if the request is successful.
example:
[
{
"label": "Key",
"value": "issuekey"
},
{
"label": "Summary",
"value": "summary"
}
]
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:
For example, if the user favorites a public filter that is subsequently made private that filter is not returned by this operation.
Optional
expand?: stringUse 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]
.Returned if the request is successful.
example:
[
{
"approximateLastUsed": "2023-03-01T13:15:00.000+0000",
"description": "Lists all open bugs",
"favourite": true,
"favouritedCount": 0,
"id": "10000",
"jql": "type = Bug and resolution is empty",
"name": "All Open Bugs",
"owner": {
"accountId": "5b10a2844c20165700ede21g",
"accountType": "atlassian",
"active": false,
"avatarUrls": {
"16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
"24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
"32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
"48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
},
"displayName": "Mia Krystof",
"key": "",
"name": "",
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
},
"searchUrl": "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
"self": "https://your-domain.atlassian.net/rest/api/3/filter/10000",
"sharePermissions": [],
"subscriptions": {
"end-index": 0,
"items": [],
"max-results": 0,
"size": 0,
"start-index": 0
},
"viewUrl": "https://your-domain.atlassian.net/issues/?filter=10000"
},
{
"approximateLastUsed": null,
"description": "Issues assigned to me",
"favourite": true,
"favouritedCount": 0,
"id": "10010",
"jql": "assignee = currentUser() and resolution is empty",
"name": "My issues",
"owner": {
"accountId": "5b10a2844c20165700ede21g",
"accountType": "atlassian",
"active": false,
"avatarUrls": {
"16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
"24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
"32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
"48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
},
"displayName": "Mia Krystof",
"key": "",
"name": "",
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
},
"searchUrl": "https://your-domain.atlassian.net/rest/api/3/search?jql=assignee+in+%28currentUser%28%29%29+and+resolution+is+empty",
"self": "https://your-domain.atlassian.net/rest/api/3/filter/10010",
"sharePermissions": [
{
"id": 10000,
"type": "global"
},
{
"id": 10010,
"project": {
"avatarUrls": {
"16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
"24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
"32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
"48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
},
"id": "10000",
"insight": {
"lastIssueUpdateTime": "2021-04-22T05:37:05.000+0000",
"totalIssueCount": 100
},
"key": "EX",
"name": "Example",
"projectCategory": {
"description": "First Project Category",
"id": "10000",
"name": "FIRST",
"self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
},
"self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
"simplified": false,
"style": "classic"
},
"type": "project"
}
],
"subscriptions": {
"end-index": 0,
"items": [],
"max-results": 0,
"size": 0,
"start-index": 0
},
"viewUrl": "https://your-domain.atlassian.net/issues/?filter=10010"
}
]
Returns a filter.
This operation can be accessed anonymously.
Permissions required: None, however, the filter is only returned where it is:
Optional
expand?: stringUse 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]
.The ID of the filter to return.
Optional
overrideEXPERIMENTAL: Whether share permissions are overridden to enable filters with any share permissions to be returned. Available to users with Administer Jira global permission.
Returned if the request is successful.
example:
{
"approximateLastUsed": "2023-03-01T13:15:00.000+0000",
"description": "Lists all open bugs",
"favourite": true,
"favouritedCount": 0,
"id": "10000",
"jql": "type = Bug and resolution is empty",
"name": "All Open Bugs",
"owner": {
"accountId": "5b10a2844c20165700ede21g",
"accountType": "atlassian",
"active": false,
"avatarUrls": {
"16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
"24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
"32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
"48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
},
"displayName": "Mia Krystof",
"key": "",
"name": "",
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
},
"searchUrl": "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
"self": "https://your-domain.atlassian.net/rest/api/3/filter/10000",
"sharePermissions": [],
"subscriptions": {
"end-index": 0,
"items": [],
"max-results": 0,
"size": 0,
"start-index": 0
},
"viewUrl": "https://your-domain.atlassian.net/issues/?filter=10000"
}
Returns a paginated list of filters. Use this operation to get:
id
only.This operation can be accessed anonymously.
Permissions required: None, however, only the following filters that match the query parameters are returned:
Optional
accountUser account ID used to return filters with the matching owner.accountId
.
This parameter cannot be used with owner
.
Optional
expand?: stringUse 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.editPermissions
Returns the edit permissions defined for the filter.isWritable
Returns whether the current user has permission to edit the
filter.approximateLastUsed
[Experimental] Returns the approximate date and
time when the filter was last evaluated.subscriptions
Returns the users that are subscribed to the filter.viewUrl
Returns a URL to view the filter.Optional
filterString used to perform a case-insensitive partial match with name
.
Optional
groupGroup ID used to returns filters that are shared with a group that matches
sharePermissions.group.groupId
. This parameter cannot be used with the
groupname
parameter.
Optional
groupname?: stringAs a group's name can change, use of 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.
Optional
id?: number[]The list of filter IDs. To include multiple IDs, provide an ampersand-separated
list. For example, id=10000&id=10001
. Do not exceed 200 filter IDs.
Optional
isWhen true
this will perform a case-insensitive substring match for the
provided filterName
. When false
the filter name will be searched using
full text search
syntax.
Optional
maxThe maximum number of items to return per page.
Optional
orderOrder 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.is_shared
Sorts by whether the filter is shared.Optional
overrideEXPERIMENTAL: Whether share permissions are overridden to enable filters with any share permissions to be returned. Available to users with Administer Jira global permission.
Optional
owner?: stringThis 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
.
Optional
projectProject ID used to returns filters that are shared with a project that matches
sharePermissions.project.id
.
Optional
startThe index of the first item to return in a page of results (page offset).
Returned if the request is successful.
example:
{
"isLast": true,
"maxResults": 100,
"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,approximateLastUsed",
"startAt": 0,
"total": 2,
"values": [
{
"approximateLastUsed": "2023-03-01T13:15:00.000+0000",
"description": "Lists all open bugs",
"editPermissions": [],
"expand": "description,owner,jql,searchUrl,viewUrl,favourite,favouritedCount,sharePermissions,editPermissions,isWritable,approximateLastUsed,subscriptions",
"favourite": false,
"favouritedCount": 0,
"id": "10000",
"jql": "type = Bug and resolution is empty",
"name": "All Open Bugs",
"owner": {
"accountId": "5b10a2844c20165700ede21g",
"accountType": "atlassian",
"active": false,
"avatarUrls": {
"16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
"24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
"32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
"48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
},
"displayName": "Mia Krystof",
"key": "",
"name": "",
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
},
"searchUrl": "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
"self": "https://your-domain.atlassian.net/rest/api/3/filter/10000",
"sharePermissions": [],
"subscriptions": [],
"viewUrl": "https://your-domain.atlassian.net/issues/?filter=10000"
},
{
"approximateLastUsed": null,
"description": "Issues assigned to me",
"editPermissions": [
{
"id": 10010,
"project": {
"avatarUrls": {
"16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10002",
"24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10002",
"32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10002",
"48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10002"
},
"deleted": true,
"deletedBy": {
"accountId": "5b10a2844c20165700ede21g",
"accountType": "atlassian",
"active": false,
"avatarUrls": {
"16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
"24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
"32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
"48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
},
"displayName": "Mia Krystof",
"key": "",
"name": "",
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
},
"deletedDate": "2022-11-11T13:35:29.000+0000",
"id": "10002",
"insight": {
"lastIssueUpdateTime": "2021-04-22T05:37:05.000+0000",
"totalIssueCount": 100
},
"key": "MKY",
"name": "Example",
"projectCategory": {
"description": "First Project Category",
"id": "10000",
"name": "FIRST",
"self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
},
"retentionTillDate": "2023-01-10T13:35:29.000+0000",
"self": "https://your-domain.atlassian.net/rest/api/3/project/MKY",
"simplified": false,
"style": "classic"
},
"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": [
{
"actorGroup": {
"name": "jira-developers",
"displayName": "jira-developers",
"groupId": "952d12c3-5b5b-4d04-bb32-44d383afc4b2"
},
"displayName": "jira-developers",
"id": 10240,
"name": "jira-developers",
"type": "atlassian-group-role-actor"
},
{
"actorUser": {
"accountId": "5b10a2844c20165700ede21g"
},
"displayName": "Mia Krystof",
"id": 10241,
"type": "atlassian-user-role-actor"
}
],
"scope": {
"project": {
"id": "10000",
"key": "KEY",
"name": "Next Gen Project"
},
"type": "PROJECT"
}
},
"type": "project"
},
{
"group": {
"groupId": "276f955c-63d7-42c8-9520-92d01dca0625",
"name": "jira-administrators",
"self": "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
},
"id": 10010,
"type": "group"
}
],
"expand": "description,owner,jql,searchUrl,viewUrl,favourite,favouritedCount,sharePermissions,editPermissions,isWritable,approximateLastUsed,subscriptions",
"favourite": true,
"favouritedCount": 123,
"id": "10010",
"jql": "assignee = currentUser() and resolution is empty",
"name": "My issues",
"owner": {
"accountId": "5b10a2844c20165700ede21g",
"accountType": "atlassian",
"active": false,
"avatarUrls": {
"16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
"24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
"32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
"48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
},
"displayName": "Mia Krystof",
"key": "",
"name": "",
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
},
"searchUrl": "https://your-domain.atlassian.net/rest/api/3/search?jql=assignee+in+%28currentUser%28%29%29+and+resolution+is+empty",
"self": "https://your-domain.atlassian.net/rest/api/3/filter/10010",
"sharePermissions": [
{
"id": 10000,
"type": "global"
},
{
"id": 10010,
"project": {
"avatarUrls": {
"16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
"24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
"32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
"48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
},
"id": "10000",
"insight": {
"lastIssueUpdateTime": "2021-04-22T05:37:05.000+0000",
"totalIssueCount": 100
},
"key": "EX",
"name": "Example",
"projectCategory": {
"description": "First Project Category",
"id": "10000",
"name": "FIRST",
"self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
},
"self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
"simplified": false,
"style": "classic"
},
"type": "project"
}
],
"subscriptions": [
{
"id": 1,
"user": {
"accountId": "5b10a2844c20165700ede21g",
"accountType": "atlassian",
"active": true,
"applicationRoles": {
"items": [],
"size": 1
},
"avatarUrls": {
"16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
"24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
"32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
"48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
},
"displayName": "Mia Krystof",
"emailAddress": "mia@example.com",
"groups": {
"items": [],
"size": 3
},
"key": "",
"name": "",
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
"timeZone": "Australia/Sydney"
}
}
],
"viewUrl": "https://your-domain.atlassian.net/issues/?filter=10010"
}
]
}
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:
For example, if the user favorites a public filter that is subsequently made private that filter is not returned by this operation.
Optional
expand?: stringUse 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]
.Optional
includeInclude the user's favorite filters in the response.
Returned if the request is successful.
example:
[
{
"approximateLastUsed": "2023-03-01T13:15:00.000+0000",
"description": "Lists all open bugs",
"favourite": true,
"favouritedCount": 0,
"id": "10000",
"jql": "type = Bug and resolution is empty",
"name": "All Open Bugs",
"owner": {
"accountId": "5b10a2844c20165700ede21g",
"accountType": "atlassian",
"active": false,
"avatarUrls": {
"16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
"24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
"32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
"48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
},
"displayName": "Mia Krystof",
"key": "",
"name": "",
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
},
"searchUrl": "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
"self": "https://your-domain.atlassian.net/rest/api/3/filter/10000",
"sharePermissions": [],
"subscriptions": {
"end-index": 0,
"items": [],
"max-results": 0,
"size": 0,
"start-index": 0
},
"viewUrl": "https://your-domain.atlassian.net/issues/?filter=10000"
},
{
"approximateLastUsed": null,
"description": "Issues assigned to me",
"favourite": true,
"favouritedCount": 0,
"id": "10010",
"jql": "assignee = currentUser() and resolution is empty",
"name": "My issues",
"owner": {
"accountId": "5b10a2844c20165700ede21g",
"accountType": "atlassian",
"active": false,
"avatarUrls": {
"16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
"24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
"32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
"48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
},
"displayName": "Mia Krystof",
"key": "",
"name": "",
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
},
"searchUrl": "https://your-domain.atlassian.net/rest/api/3/search?jql=assignee+in+%28currentUser%28%29%29+and+resolution+is+empty",
"self": "https://your-domain.atlassian.net/rest/api/3/filter/10010",
"sharePermissions": [
{
"id": 10000,
"type": "global"
},
{
"id": 10010,
"project": {
"avatarUrls": {
"16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
"24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
"32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
"48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
},
"id": "10000",
"insight": {
"lastIssueUpdateTime": "2021-04-22T05:37:05.000+0000",
"totalIssueCount": 100
},
"key": "EX",
"name": "Example",
"projectCategory": {
"description": "First Project Category",
"id": "10000",
"name": "FIRST",
"self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
},
"self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
"simplified": false,
"style": "classic"
},
"type": "project"
}
],
"subscriptions": {
"end-index": 0,
"items": [],
"max-results": 0,
"size": 0,
"start-index": 0
},
"viewUrl": "https://your-domain.atlassian.net/issues/?filter=10010"
}
]
Reset the user's column configuration for the filter to the default.
Permissions required: Permission to access Jira, however, columns are only reset for:
The ID of the filter.
Sets the columns for a filter. Only navigable fields can be set as columns. Use
Get fields to get the list fields in Jira. A
navigable field has navigable
set to true
.
The parameters for this resource are expressed as HTML form data. For example, in curl:
curl -X PUT -d columns=summary -d columns=description https://your-domain.atlassian.net/rest/api/3/filter/10000/columns
Permissions required: Permission to access Jira, however, columns are only set for:
Returned if the request is successful.
Add a filter as a favorite for the user.
Permissions required: Permission to access Jira, however, the user can only favorite:
Optional
expand?: stringUse 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]
.The ID of the filter.
Returned if the request is successful.
example:
{
"approximateLastUsed": "2023-03-01T13:15:00.000+0000",
"description": "Lists all open bugs",
"favourite": true,
"favouritedCount": 0,
"id": "10000",
"jql": "type = Bug and resolution is empty",
"name": "All Open Bugs",
"owner": {
"accountId": "5b10a2844c20165700ede21g",
"accountType": "atlassian",
"active": false,
"avatarUrls": {
"16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
"24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
"32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
"48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
},
"displayName": "Mia Krystof",
"key": "",
"name": "",
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
},
"searchUrl": "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
"self": "https://your-domain.atlassian.net/rest/api/3/filter/10000",
"sharePermissions": [],
"subscriptions": {
"end-index": 0,
"items": [],
"max-results": 0,
"size": 0,
"start-index": 0
},
"viewUrl": "https://your-domain.atlassian.net/issues/?filter=10000"
}
Updates a filter. Use this operation to update a filter's name, description, JQL, or sharing.
Permissions required: Permission to access Jira, however the user must own the filter.
Optional
expand?: stringUse 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]
.The filter to update.
The ID of the filter to update.
Optional
overrideEXPERIMENTAL: Whether share permissions are overridden to enable the addition of any share permissions to filters. Available to users with Administer Jira global permission.
Returned if the request is successful.
example:
{
"approximateLastUsed": "2023-03-01T13:15:00.000+0000",
"description": "Lists all open bugs",
"favourite": true,
"favouritedCount": 0,
"id": "10000",
"jql": "type = Bug and resolution is empty",
"name": "All Open Bugs",
"owner": {
"accountId": "5b10a2844c20165700ede21g",
"accountType": "atlassian",
"active": false,
"avatarUrls": {
"16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
"24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
"32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
"48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
},
"displayName": "Mia Krystof",
"key": "",
"name": "",
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
},
"searchUrl": "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
"self": "https://your-domain.atlassian.net/rest/api/3/filter/10000",
"sharePermissions": [],
"subscriptions": {
"end-index": 0,
"items": [],
"max-results": 0,
"size": 0,
"start-index": 0
},
"viewUrl": "https://your-domain.atlassian.net/issues/?filter=10000"
}
Protected
Static
initialize
This resource represents filters. Use it to get, create, update, or delete filters. Also use it to configure the columns for a filter and set favorite filters.
See
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-filters