Create Permission Grant

POST {{baseUrl}}/rest/api/3/permissionscheme/:schemeId/permission?expand=<string>

Creates a permission grant in a permission scheme.

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 always included when you specify any value. Expand options include:
  • permissions Returns all permission grants for each permission scheme.
  • user Returns information about the user who is granted the permission.
  • group Returns information about the group that is granted the permission.
  • projectRole Returns information about the project role granted the permission.
  • field Returns information about the custom field granted the permission.
  • all Returns all expandable information. |

Request Body

{"holder"=>{"type"=>"<string>", "parameter"=>"<string>"}, "permission"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: Created

{&quot;id&quot;:10000,&quot;self&quot;:&quot;https://your-domain.atlassian.net/rest/api/3/permissionscheme/permission/10000&quot;,&quot;holder&quot;:{&quot;type&quot;:&quot;group&quot;,&quot;parameter&quot;:&quot;jira-core-users&quot;,&quot;expand&quot;:&quot;group&quot;},&quot;permission&quot;:&quot;ADMINISTER_PROJECTS&quot;}