Permission schemes

Create permission scheme

Changed on

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.

post/rest/api/2/permissionscheme

Request

  • Base URL: https://your-domain.atlassian.net
  • URL: https://your-domain.atlassian.net/rest/api/2/permissionscheme
  • Auth: one of:
    • HTTP basic
    • OAuth 2 (authorization code, authorization URL https://auth.atlassian.com/authorize, token URL https://auth.atlassian.com/oauth/token, scopes: manage:jira-configuration)

Query parameters

expandstring

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:

  • 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

descriptionstring

A description for the permission scheme.

expandstring

The expand options available for the permission scheme.

idinteger

The ID of the permission scheme.

namestring required

The name of the permission scheme. Must be unique.

selfstring uri

The URL of the permission scheme.

Response

Returned if the permission scheme is created.

descriptionstring

A description for the permission scheme.

expandstring

The expand options available for the permission scheme.

idinteger

The ID of the permission scheme.

namestring required

The name of the permission scheme. Must be unique.

selfstring uri

The URL of the permission scheme.

Changes

    • warning

      added the new product_discovery enum value to the ////////// response property for the response status

    • info

      added the new product_discovery enum value to the request property //////////