Get Permission Scheme Grants
GET {{baseUrl}}/rest/api/3/permissionscheme/:schemeId/permission?expand=<string>
Returns all permission grants for a permission scheme.
Permissions required: Permission to access Jira.
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
expand | string | Use expand to include additional information in the response. This parameter accepts a comma-separated list. Note that permissions are always included when you specify any value. Expand options include: |
permissionsReturns all permission grants for each permission scheme.userReturns information about the user who is granted the permission.groupReturns information about the group that is granted the permission.projectRoleReturns information about the project role granted the permission.fieldReturns information about the custom field granted the permission.allReturns all expandable information. |
RESPONSES
status: OK
{"permissions":[{"id":10000,"self":"https://your-domain.atlassian.net/rest/api/3/permissionscheme/permission/10000","holder":{"type":"group","parameter":"jira-core-users","expand":"group"},"permission":"ADMINISTER_PROJECTS"}],"expand":"user,group,projectRole,field,all"}