Assign Permission Scheme

PUT {{baseUrl}}/rest/api/3/project/:projectKeyOrId/permissionscheme?expand=<string>

Assigns a permission scheme with a project. See Managing project permissions for more information about permission schemes.

Permissions required: Administer Jira global permission

Request Params

KeyDatatypeRequiredDescription
expandstringUse 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. |

Request Body

{"id"=>"<long>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;id&quot;:10000,&quot;self&quot;:&quot;https://your-domain.atlassian.net/rest/api/3/permissionscheme/10000&quot;,&quot;name&quot;:&quot;Example permission scheme&quot;,&quot;description&quot;:&quot;description&quot;}