Skip to content

Atlassian: Project role actors schemas

3 Atlassian schemas with complete fields and constraints.

← Project role actors operations · All schemas

Add actors to project role — request body — body

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
grouparrayOptionalThe name of the group to add. This parameter cannot be used with the `groupId` parameter. As a group's name can change, use of `groupId` is recommended.
group[]stringEach item
groupIdarrayOptionalThe ID of the group to add. This parameter cannot be used with the `group` parameter.
groupId[]stringEach item
userarrayOptionalThe user account ID of the user to add.
user[]stringEach item

Add default actors to project role — request body — body

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
grouparrayOptionalThe name of the group to add as a default actor. This parameter cannot be used with the `groupId` parameter. As a group's name can change,use of `groupId` is recommended. This parameter accepts a comma-separated list. For example, `"group":["project-admin", "jira-developers"]`.
group[]stringEach item
groupIdarrayOptionalThe ID of the group to add as a default actor. This parameter cannot be used with the `group` parameter This parameter accepts a comma-separated list. For example, `"groupId":["77f6ab39-e755-4570-a6ae-2d7a8df0bcb8", "0c011f85-69ed-49c4-a801-3b18d0f771bc"]`.
groupId[]stringEach item
userarrayOptionalThe account IDs of the users to add as default actors. This parameter accepts a comma-separated list. For example, `"user":["5b10a2844c20165700ede21g", "5b109f2e9729b51b54dc274d"]`.
user[]stringEach item

Set actors for project role — request body — body

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
categorisedActorsobjectOptionalThe actors to add to the project role.

Add groups using:

* `atlassian-group-role-actor` and a list of group names.
* `atlassian-group-role-actor-id` and a list of group IDs.

As a group's name can change, use of `atlassian-group-role-actor-id` is recommended. For example, `"atlassian-group-role-actor-id":["eef79f81-0b89-4fca-a736-4be531a10869","77f6ab39-e755-4570-a6ae-2d7a8df0bcb8"]`.

Add users using `atlassian-user-role-actor` and a list of account IDs. For example, `"atlassian-user-role-actor":["12345678-9abc-def1-2345-6789abcdef12", "abcdef12-3456-789a-bcde-f123456789ab"]`.
Additional keys: see wildcard field
categorisedActors.*arrayAdditional keys
categorisedActors.*[]stringEach item
idintegerOptionalThe ID of the project role. Use [Get all project roles](#api-rest-api-3-role-get) to get a list of project role IDs.
Format: int64
Read only: true

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.