Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get default actors for a role

Gets default actors for the given role.

GET/api/2/role/{id}/actors
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Path parameters
idinteger<int64>required

The role id

Responses
200

Returns actor list.

actorsRoleActorBean[]
Show properties
Array of RoleActorBean
namestring
401

Returned if the requesting user is not logged in.

403

Returned if the requesting user is not an admin or a sysadmin.

404

Returned if the role with the given id does not exist.

Try it
Server
Authorization
Parameters
Request
curl -X GET 'http://jira.example.com/rest/api/2/role/0/actors' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "actors": [
    {
      "name": "jira-developers"
    }
  ]
}

Was this page helpful?