Custom user roles
Create custom user role
Creates a new custom user role.
- The user should have admin role and custom user role right.
post/api/{cloudId}/v1/roles
Request
- Base URLhttps://api.atlassian.com/jsm/ops
- URLhttps://api.atlassian.com/jsm/ops/api/{cloudId}/v1/roles
- Auth
- HTTP basic
- or OAuth 2Authorization code: https://auth.stg.atlassian.com/authorizeToken URL: https://auth.stg.atlassian.com/oauth/token scopes: read:ops-config:jira-service-management
Request body
Example request
{
"name": "Pre req Rest Api 3",
"grantedRights": [
"alert-action",
"alert-create",
"alert-add-note"
],
"disallowedRights": [
"alert-delete"
]
}Response
Returned if the request is successful.
Changes
No recorded changes to this operation across all 5 revisions of this API.