Internal
Create a new instance of the service.
Returns all application roles. In Jira, application roles are managed using the Application access configuration page.
Permissions required: Administer Jira global permission.
Returned if the request is successful.
example:
[
{
"defaultGroups": [
"jira-software-users"
],
"defaultGroupsDetails": [
{
"groupId": "276f955c-63d7-42c8-9520-92d01dca0625",
"name": "jira-software-users",
"self": "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
}
],
"defined": false,
"groupDetails": [
{
"groupId": "42c8955c-63d7-42c8-9520-63d7aca0625",
"name": "jira-testers",
"self": "https://your-domain.atlassian.net/rest/api/3/group?groupId=42c8955c-63d7-42c8-9520-63d7aca0625"
},
{
"groupId": "276f955c-63d7-42c8-9520-92d01dca0625",
"name": "jira-software-users",
"self": "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
}
],
"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"
},
{
"defaultGroups": [
"jira-core-users"
],
"defaultGroupsDetails": [
{
"groupId": "92d01dca0625-42c8-42c8-9520-276f955c",
"name": "jira-core-users",
"self": "https://your-domain.atlassian.net/rest/api/3/group?groupId=92d01dca0625-42c8-42c8-9520-276f955c"
}
],
"defined": false,
"groupDetails": [
{
"groupId": "92d01dca0625-42c8-42c8-9520-276f955c",
"name": "jira-core-users",
"self": "https://your-domain.atlassian.net/rest/api/3/group?groupId=92d01dca0625-42c8-42c8-9520-276f955c"
}
],
"groups": [
"jira-core-users"
],
"hasUnlimitedSeats": false,
"key": "jira-core",
"name": "Jira Core",
"numberOfSeats": 1,
"platform": true,
"remainingSeats": 1,
"selectedByDefault": false,
"userCount": 0,
"userCountDescription": "0 users"
}
]
Returns an application role.
Permissions required: Administer Jira global permission.
The key of the application role. Use the Get all application roles operation to get the key for each application role.
Returned if the request is successful.
example:
{
"defaultGroups": [
"jira-software-users"
],
"defaultGroupsDetails": [
{
"groupId": "276f955c-63d7-42c8-9520-92d01dca0625",
"name": "jira-software-users",
"self": "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
}
],
"defined": false,
"groupDetails": [
{
"groupId": "42c8955c-63d7-42c8-9520-63d7aca0625",
"name": "jira-testers",
"self": "https://your-domain.atlassian.net/rest/api/3/group?groupId=42c8955c-63d7-42c8-9520-63d7aca0625"
},
{
"groupId": "276f955c-63d7-42c8-9520-92d01dca0625",
"name": "jira-software-users",
"self": "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
}
],
"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"
}
Protected
Static
initialize
This resource represents application roles. Use it to get details of an application role or all application roles.
See
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-application-roles