Returns all permissions in the system and whether the currently logged in user has them. You can optionally provide a specific context to get permissions for (projectKey OR projectId OR issueKey OR issueId)
Forge and OAuth2 apps cannot access this REST resource.
string
string
string
string
Returns a list of all permissions in Jira and whether the user has them.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/mypermissions' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'1
2
3
4
5
6
7
8
9
10
11
{
"permissions": {
"EDIT_ISSUE": {
"id": "EDIT_ISSUE",
"type": "USER",
"description": "Ability to edit issues.",
"name": "Edit Issues",
"havePermission": true
}
}
}Rate this page: