Create Permission Scheme

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

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.

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:
  • 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

{"name"=>"<string>", "description"=>"<string>", "scope"=>{"type"=>"TEMPLATE", "project"=>{"self"=>"pariatur Ut et fugiat cillum", "id"=>"commodo mollit", "key"=>"dolore laboris minim ex", "name"=>"Ut est consectetur exercitation", "projectTypeKey"=>"service_desk", "simplified"=>true, "avatarUrls"=>{"16x16"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "24x24"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "32x32"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "48x48"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "projectCategory"=>{"self"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "description"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}}, "permissions"=>[{"holder"=>{"type"=>"<string>", "parameter"=>"<string>"}, "permission"=>"<string>"}, {"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/10000&quot;,&quot;name&quot;:&quot;Example permission scheme&quot;,&quot;description&quot;:&quot;description&quot;,&quot;permissions&quot;:[{&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;}]}