Add Default Actors To Project Role

POST {{baseUrl}}/rest/api/3/role/:id/actors

Adds default actors to a role. You may add groups or users, but you cannot add groups and users in the same request.

Changing a project role's default actors does not affect project role members for projects already created.

Permissions required: Administer Jira global permission.

Request Body

{"user"=>["<string>", "<string>"], "group"=>["<string>", "<string>"]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;actors&quot;:[{&quot;id&quot;:10240,&quot;displayName&quot;:&quot;jira-developers&quot;,&quot;type&quot;:&quot;atlassian-group-role-actor&quot;,&quot;name&quot;:&quot;jira-developers&quot;,&quot;actorGroup&quot;:{&quot;name&quot;:&quot;jira-developers&quot;,&quot;displayName&quot;:&quot;jira-developers&quot;}}]}