Create a new project role
Creates a new ProjectRole to be available in Jira. The created role does not have any default actors assigned.
POST
/api/2/roleAuthorization
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
Request body
requiredapplication/jsonThe role to create
descriptionstringnamestringResponses
200
Returns full details of the created role
actorsRoleActorBean[]Show propertiesHide properties
Array of
RoleActorBeannamestringdescriptionstringidinteger<int64>namestringselfstring<uri>400
Returned if the request json does not have a name field or the name field is invalid (empty or starts or ends with whitespace)
401
Returned if you are not logged in.
403
Returned if you do not have permissions to create a role.
409
Returned if a role with given name already exists.