Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get all application roles in the system

Returns all application roles in the system.

GET/api/2/applicationrole
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Responses
200

Returns all ApplicationRoles in the system

defaultGroupsstring[]
definedboolean
groupsstring[]
hasUnlimitedSeatsboolean
keystring
namestring
numberOfSeatsinteger<int32>
platformboolean
remainingSeatsinteger<int32>
selectedByDefaultboolean
userCountinteger<int32>
userCountDescriptionstring
401

Returned if the current user is not authenticated.

403

Returned if the current user is not an administrator.

Try it
Server
Authorization
Request
curl -X GET 'http://jira.example.com/rest/api/2/applicationrole' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "defaultGroups": [
    "jira-software-users"
  ],
  "defined": false,
  "groups": [
    "jira-software-users",
    "jira-testers"
  ],
  "hasUnlimitedSeats": false,
  "key": "jira-software",
  "name": "Jira Software",
  "numberOfSeats": 10,
  "platform": false,
  "remainingSeats": 5,
  "selectedByDefault": false,
  "userCount": 5,
  "userCountDescription": "5 developers"
}

Was this page helpful?