• 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

applicationrole

Postman Collection
OpenAPI
GET

Get all application roles in the system

Returns all application roles in the system.

Request

This request has no parameters.

Responses

Returns all ApplicationRoles in the system

application/json

ApplicationRoleBean
GET/api/2/applicationrole
1 2 3 4 curl --request GET \ --url 'http://{baseurl}/rest/api/2/applicationrole' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
PUT

Update application roles

Updates the ApplicationRoles with the passed data if the version hash is the same as the server. Only the groups and default groups setting of the role may be updated. Requests to change the key or the name of the role will be silently ignored. It is acceptable to pass only the roles that are updated as roles that are present in the server but not in data to update with, will not be deleted.

Request

Header parameters

If-Match

string

Request bodyapplication/json

the data to update the roles with.

defaultGroups

array<string>

defined

boolean

groups

array<string>

hasUnlimitedSeats

boolean

key

string

name

string

numberOfSeats

integer

platform

boolean

remainingSeats

integer

selectedByDefault

boolean

Responses

Returns the updated ApplicationRoles if the update was successful.

application/json

ApplicationRoleBean
PUT/api/2/applicationrole
1 2 3 4 5 curl --request PUT \ --url 'http://{baseurl}/rest/api/2/applicationrole' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json'
GET

Get application role by key

Returns the ApplicationRole with passed key if it exists.

Request

Path parameters

key

string

Required

Responses