• Approval
  • Customer
  • Customer Request
  • Customer Transition
  • Jira Service Management Application
  • Organization
  • Organization Service Desk
  • Portals
  • Queue
  • Queue Settings
  • Request Attachment
  • Request Type
  • Request Type Permissions
  • Service Desk
  • Service Desk Customer
  • application-properties
  • applicationrole
  • attachment
  • avatar
  • cluster
  • comment
  • component
  • configuration
  • customFieldOption
  • customFields
  • dashboard
  • email-templates
  • field
  • filter
  • group
  • groups
  • groupuserpicker
  • index
  • index-snapshot
  • issue
  • issueLinkType
  • issuesecurityschemes
  • issuetype
  • issuetypescheme
  • jql
  • licenseValidator
  • monitoring
  • mypermissions
  • mypreferences
  • myself
  • notificationscheme
  • password
  • permissions
  • permissionscheme
  • priority
  • priorityschemes
  • project
  • projectCategory
  • projects
  • projectvalidate
  • reindex
  • resolution
  • role
  • screens
  • securitylevel
  • serverInfo
  • session
  • settings
  • status
  • statuscategory
  • terminology
  • universal_avatar
  • upgrade
  • user
  • version
  • websudo
  • workflow
  • workflowscheme
  • worklog
  • Assets - AQL
  • Assets - Analytics
  • Assets - Archived Objects
  • Assets - Attachments
  • Assets - Comments
  • Assets - Icons
  • Assets - Index Configuration
  • Assets - Object
  • Assets - Object Archive
  • Assets - Object Attribute
  • Assets - Object Connected Tickets
  • Assets - Object Restore
  • Assets - Object Schema
  • Assets - Object Type
  • Assets - Object Type Attribute
  • Assets - Progress
  • Assets - QR Code
  • Assets - Status Types
Server
Jira Service Management / Reference / REST API

filter

Postman Collection
OpenAPI
POST

Create a new filter

Creates a new filter, and returns newly created filter. Currently sets permissions just using the users default sharing permissions

Request

Query parameters

expand

StringList

Request bodyapplication/json

description

string

editable

boolean

favourite

boolean

id

string

jql

string

name

string

owner

UserBean

searchUrl

string

self

string

sharePermissions

array<FilterPermissionBean>

Responses

Returns a newly created filter

application/json

FilterBean
POST/api/2/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'
GET

Get default share scope

Returns the default share scope of the logged-in user

Request

This request has no parameters.

Responses

Returns the default share scope of the logged-in user

application/json

DefaultShareScopeBean
GET/api/2/filter/defaultShareScope
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'
PUT

Set default share scope

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

Request

Request bodyapplication/json

scope

string

Responses

Returns the new default share scope of the logged-in user

application/json

DefaultShareScopeBean