Optionalparameters: {Optionalexpand?: Use expand to include additional information in the response. This parameter accepts a comma-separated list. Note that permissions are included when you specify any value. Expand options include:
all Returns all expandable information.field Returns information about the custom field granted the permission.group Returns information about the group that is granted the permission.permissions Returns all permission grants for each permission scheme.projectRole Returns information about the project role granted the permission.user Returns information about the user who is granted the permission.Optionaloptions: RequestOptions
Returns all permission schemes.
About permission schemes and grants
A permission scheme is a collection of permission grants. A permission grant consists of a
holderand apermission.Holder object
The
holderobject contains information about the user or group being granted the permission. For example, the Administer projects permission is granted to a group named Teams in space administrators. In this case, the type is"type": "group", and the parameter is the group name,"parameter": "Teams in space administrators"and the value is group ID,"value": "ca85fac0-d974-40ca-a615-7af99c48d24f".The
holderobject is defined by the following properties:typeIdentifies the user or group (see the list of types below).parameterAs a group's name can change, use ofvalueis recommended. The value of this property depends on thetype. For example, if thetypeis a group, then you need to specify the group name.valueThe value of this property depends on thetype. If thetypeis a group, then you need to specify the group ID. For othertypeit has the same value asparameterThe following
typesare available. The expected values forparameterandvalueare given in parentheses (some types may not have aparameterorvalue):anyoneGrant for anonymous users.applicationRoleGrant for users with access to the specified application (application name, application name). See Update product access settings for more information.assigneeGrant for the user currently assigned to an issue.groupGrant for the specified group (parameter: group name,value: group ID).groupCustomFieldGrant for a user in the group selected in the specified custom field (parameter: custom field ID,value: custom field ID).projectLeadGrant for a project lead.projectRoleGrant for the specified project role (parameter:project role ID,value: project role ID).reporterGrant for the user who reported the issue.sd.customer.portal.onlyJira Service Desk only. Grants customers permission to access the customer portal but not Jira. See Customizing Jira Service Desk permissions for more information.userGrant for the specified user (parameter: user ID - historically this was the userkey but that is deprecated and the account ID should be used,value: user ID).userCustomFieldGrant for a user selected in the specified custom field (parameter: custom field ID,value: custom field ID).Built-in permissions
The built-in Jira permissions are listed below. Apps can also define custom permissions. See the project permission and global permission module documentation for more information.
Administration permissions
ADMINISTER_PROJECTSEDIT_WORKFLOWEDIT_ISSUE_LAYOUTProject permissions
BROWSE_PROJECTSMANAGE_SPRINTS_PERMISSION(Jira Software only)SERVICEDESK_AGENT(Jira Service Desk only)VIEW_DEV_TOOLS(Jira Software only)VIEW_READONLY_WORKFLOWIssue permissions
ASSIGNABLE_USERASSIGN_ISSUESCLOSE_ISSUESCREATE_ISSUESDELETE_ISSUESEDIT_ISSUESLINK_ISSUESMODIFY_REPORTERMOVE_ISSUESRESOLVE_ISSUESSCHEDULE_ISSUESSET_ISSUE_SECURITYTRANSITION_ISSUESVoters and watchers permissions
MANAGE_WATCHERSVIEW_VOTERS_AND_WATCHERSComments permissions
ADD_COMMENTSDELETE_ALL_COMMENTSDELETE_OWN_COMMENTSEDIT_ALL_COMMENTSEDIT_OWN_COMMENTSAttachments permissions
CREATE_ATTACHMENTSDELETE_ALL_ATTACHMENTSDELETE_OWN_ATTACHMENTSTime tracking permissions
DELETE_ALL_WORKLOGSDELETE_OWN_WORKLOGSEDIT_ALL_WORKLOGSEDIT_OWN_WORKLOGSWORK_ON_ISSUESPermissions required: Permission to access Jira.