POST /rest/api/2/permissionscheme
Creates a new permission scheme. You can create a permission scheme with or without defining a set of permission grants.
Permissions required: Administer Jira global permission.
Servers
- https://your-domain.atlassian.net
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
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 always included when you specify any value. Expand options include:
|
Request body fields
Name | Type | Required | Description |
---|---|---|---|
id |
Integer | No |
The ID of the permission scheme. |
name |
String | Yes |
The name of the permission scheme. Must be unique. |
description |
String | No |
A description for the permission scheme. |
self |
String | No |
The URL of the permission scheme. |
expand |
String | No |
The expand options available for the permission scheme. |
permissions[] |
Array | No |
The permission scheme to create or update. See About permission schemes and grants for more information. |
permissions[].id |
Integer | No |
The ID of the permission granted details. |
permissions[].permission |
String | No |
The permission to grant. This permission can be one of the built-in permissions or a custom permission added by an app. See Built-in permissions in Get all permission schemes for more information about the built-in permissions. See the project permission and global permission module documentation for more information about custom permissions. |
permissions[].self |
String | No |
The URL of the permission granted details. |
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.