GET /rest/api/2/permissionscheme
Returns all permission schemes.
About permission schemes and grants
A permission scheme is a collection of permission grants. A permission grant consists of a holder and a permission.
Holder object
The holder object 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 holder object 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 asparameter
The following types are available. The expected values for parameter and value are given in parentheses (some types may not have a parameter or value):
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_LAYOUT
Project permissions
BROWSE_PROJECTSMANAGE_SPRINTS_PERMISSION(Jira Software only)SERVICEDESK_AGENT(Jira Service Desk only)VIEW_DEV_TOOLS(Jira Software only)VIEW_READONLY_WORKFLOW
Issue permissions
ASSIGNABLE_USERASSIGN_ISSUESCLOSE_ISSUESCREATE_ISSUESDELETE_ISSUESEDIT_ISSUESLINK_ISSUESMODIFY_REPORTERMOVE_ISSUESRESOLVE_ISSUESSCHEDULE_ISSUESSET_ISSUE_SECURITYTRANSITION_ISSUES
Voters and watchers permissions
MANAGE_WATCHERSVIEW_VOTERS_AND_WATCHERS
Comments permissions
ADD_COMMENTSDELETE_ALL_COMMENTSDELETE_OWN_COMMENTSEDIT_ALL_COMMENTSEDIT_OWN_COMMENTS
Attachments permissions
CREATE_ATTACHMENTSDELETE_ALL_ATTACHMENTSDELETE_OWN_ATTACHMENTS
Time tracking permissions
DELETE_ALL_WORKLOGSDELETE_OWN_WORKLOGSEDIT_ALL_WORKLOGSEDIT_OWN_WORKLOGSWORK_ON_ISSUES
Permissions required: Permission to access Jira.
Servers
- https://your-domain.atlassian.net
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
expand |
String | No |
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:
|
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.