When I use call the Jira REST API for PermissionScheme like so:
https://jira.xyz.com/rest/api/latest/permissionscheme?expand=permissions
...some of the results look like this:
{ "id": 11671,
"self": "https://jira.xyz.com/rest/api/2/permissionscheme/10200/permission/11671",
"holder":
{ "type": "applicationRole"
},
"permission": "DELETE_OWN_COMMENTS"
},
What is "applicationRole"?
Other results in that same API response make sense, like these;
{ "id": 12298,
"self": "https://jira.xyz.com/rest/api/2/permissionscheme/0/permission/12298",
"holder":
{ "type": "projectRole",
"parameter": "10001",
"expand": "projectRole"
},
"permission": "EDIT_OWN_WORKLOGS"
},
{ "id": 12299,
"self": "https://jira.xyz.com/rest/api/2/permissionscheme/0/permission/12299",
"holder":
{ "type": "group",
"parameter": "jira-administrators",
"expand": "group"
},
"permission": "DELETE_ALL_COMMENTS"
},
The first one indicates a permission granted to specific Roles for a Project.
The second one shows a permission granted to a specific Jira user Group.
I also see "holders" with only a "type" of "assignee" or "projectLead", and those are pretty self explanatory.
But what is "applicationRole"?