A permission scheme is a collection of permission grants. A permission grant consists of a holder and a permission.
The holder object contains information about the user or group being granted the permission. For example, the Administer projects permission is granted to a group named Teams in space administrators. In this case, the type is "type": "group", and the parameter is the group name, "parameter": "Teams in space administrators". The holder object is defined by the following properties:
type Identifies the user or group (see the list of types below).
parameter The value of this property depends on the type. For example, if the type is a group, then you need to specify the group name.
The following types are available. The expected values for the parameter are given in parenthesis (some types may not have a parameter):
name
name
description
description
name
anyone
description
Grant for anonymous users.
name
applicationRole
description
Grant for users with access to the specified application (application name). See Update product access settings for more information.
name
assignee
description
Grant for the user currently assigned to an issue.
name
group
description
Grant for the specified group (group name).
name
groupCustomField
description
Grant for a user in the group selected in the specified custom field (custom field ID).
name
projectLead
description
Grant for a project lead.
name
projectRole
description
Grant for the specified project role (project role ID).
name
reporter
description
Grant for the user who reported the issue.
name
sd.customer.portal.only
description
Jira Service Desk only. Grants customers permission to access the customer portal but not Jira
name
user
description
Grant for the specified user (user ID - historically this was the userkey but that is deprecated and the account ID should be used).
name
userCustomField
description
Grant for a user selected in the specified custom field (custom field ID).