PUT /rest/api/2/filter/{id}
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.
Servers
- https://your-domain.atlassian.net
Path parameters
Name | Type | Required | Description |
---|---|---|---|
id |
Integer | Yes |
The ID of the filter to update. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
expand |
String | No |
Use expand to include additional information about filter in the response. This parameter accepts a comma-separated list. Expand options include:
|
overrideSharePermissions |
Boolean | No |
EXPERIMENTAL: Whether share permissions are overridden to enable the addition of any share permissions to filters. Available to users with Administer Jira global permission. Default value: false |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
id |
String | No |
The unique identifier for the filter. |
searchUrl |
String | No |
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/2/search?jql=project+%3D+SSP+AND+issuetype+%3D+Bug. |
approximateLastUsed |
String | No |
[Experimental] Approximate last used time. Returns the date and time when the filter was last used. Returns |
editPermissions[] |
Array | No |
The groups and projects that can edit the filter. |
editPermissions[].id |
Integer | No |
The unique identifier of the share permission. |
editPermissions[].type |
String | Yes |
The type of share permission:
Possible values:
|
name |
String | Yes |
The name of the filter. Must be unique. |
description |
String | No |
A description of the filter. |
self |
String | No |
The URL of the filter. |
sharePermissions[] |
Array | No |
The groups and projects that the filter is shared with. |
sharePermissions[].id |
Integer | No |
The unique identifier of the share permission. |
sharePermissions[].type |
String | Yes |
The type of share permission:
Possible values:
|
favouritedCount |
Integer | No |
The count of how many users have selected this filter as a favorite, including the filter owner. |
favourite |
Boolean | No |
Whether the filter is selected as a favorite. |
jql |
String | No |
The JQL query for the filter. For example, project = SSP AND issuetype = Bug. |
viewUrl |
String | No |
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. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.