Creates a new filter, and returns newly created filter. Currently sets permissions just using the users default sharing permissions
Forge and OAuth2 apps cannot access this REST resource.
StringList
string
boolean
boolean
string
string
string
UserBean
string
string
array<FilterPermissionBean>
Returns a newly created filter
1
2
3
4
5
curl --request POST \
--url 'http://{baseurl}/rest/api/2/filter' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
Returns the default share scope of the logged-in user
Forge and OAuth2 apps cannot access this REST resource.
This request has no parameters.
Returns the default share scope of the logged-in user
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/filter/defaultShareScope' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Sets the default share scope of the logged-in user. Available values are: AUTHENTICATED (for sharing with all logged-in users) and PRIVATE (for no shares).
Forge and OAuth2 apps cannot access this REST resource.
string
Returns the new default share scope of the logged-in user
1
2
3
4
5
curl --request PUT \
--url 'http://{baseurl}/rest/api/2/filter/defaultShareScope' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
Returns the favourite filters of the logged-in user
Forge and OAuth2 apps cannot access this REST resource.
StringList
Returns a list of favourite filters
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/filter/favourite' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Returns a filter given an id
Forge and OAuth2 apps cannot access this REST resource.
string
RequiredStringList
Returns a filter
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/filter/{id}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Updates an existing filter, and returns its new value. The following properties of a filter can be updated: 'jql', 'name', 'description'. Additionally, administrators can also update the 'owner' field. To get, set or unset 'favourite', use rest/api/1.0/filters/{id}/favourite with GET, PUT and DELETE methods instead.
Forge and OAuth2 apps cannot access this REST resource.
string
RequiredStringList
string
boolean
boolean
string
string
string
UserBean
string
string
array<FilterPermissionBean>
Returns the updated filter
1
2
3
4
5
curl --request PUT \
--url 'http://{baseurl}/rest/api/2/filter/{id}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
Delete a filter
Forge and OAuth2 apps cannot access this REST resource.
string
RequiredReturned if the filter was removed successfully.
1
2
3
curl --request DELETE \
--url 'http://{baseurl}/rest/api/2/filter/{id}' \
--user 'email@example.com:<api_token>'
Returns the default columns for the given filter. Currently logged in user will be used as the user making such request.
Forge and OAuth2 apps cannot access this REST resource.
string
RequiredReturns a list of columns for configured for the given user
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/filter/{id}/columns' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Sets the default columns for the given filter
Forge and OAuth2 apps cannot access this REST resource.
string
Requiredarray<string>
Returned when the columns are saved successfully
1
2
3
curl --request PUT \
--url 'http://{baseurl}/rest/api/2/filter/{id}/columns' \
--user 'email@example.com:<api_token>'
Resets the columns for the given filter such that the filter no longer has its own column config
Forge and OAuth2 apps cannot access this REST resource.
string
RequiredReturned when the columns are reset/removed successfully
1
2
3
curl --request DELETE \
--url 'http://{baseurl}/rest/api/2/filter/{id}/columns' \
--user 'email@example.com:<api_token>'
Returns all share permissions of the given filter
Forge and OAuth2 apps cannot access this REST resource.
string
RequiredReturns a list of share permissions associated with the given filter
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/filter/{id}/permission' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Adds a share permissions to the given filter. Adding a global permission removes all previous permissions from the filter
Forge and OAuth2 apps cannot access this REST resource.
string
Requiredboolean
string
string
string
string
string
boolean
Returns share permissions associated with the given filter
1
2
3
4
5
curl --request POST \
--url 'http://{baseurl}/rest/api/2/filter/{id}/permission' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
Removes a share permissions from the given filter
Forge and OAuth2 apps cannot access this REST resource.
string
Requiredstring
Requiredinteger
RequiredReturned if successful.
1
2
3
curl --request DELETE \
--url 'http://{baseurl}/rest/api/2/filter/{id}/permission/{permission-id}' \
--user 'email@example.com:<api_token>'
Returns a single share permission of the given filter
Forge and OAuth2 apps cannot access this REST resource.
string
Requiredstring
RequiredReturns a share permission associated with the given filter and permission-id
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/filter/{id}/permission/{permissionId}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Rate this page: