Project permission schemes
Assign permission scheme
Assigns a permission scheme with a project. See Managing project permissions for more information about permission schemes.
Permissions required: Administer Jira global permission
put/rest/api/2/project/{projectKeyOrId}/permissionscheme
Path parameters
projectKeyOrIdstring required
The project ID or project key (case sensitive).
Query parameters
expandstring
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.
Request body
Response
Returned if the request is successful.
Changes
Changed in 1 of the 15 revisions of this API.1
- ●
added the new
product_discoveryenum value to thescope/allOf[Scope]/project/allOf[ProjectDetails]/projectTypeKeyresponse property for the response status200response-property-enum-value-added
- ●