Project role actors
Add actors to project role
Adds actors to a project role for the project.
To replace all actors for the project, use Set actors for project role.
This operation can be accessed anonymously.
Permissions required: Administer Projects project permission for the project or Administer Jira global permission.
post/rest/api/3/project/{projectIdOrKey}/role/{id}
Path parameters
projectIdOrKeystring required
The project ID or project key (case sensitive).
idinteger required
The ID of the project role. Use Get all project roles to get a list of project role IDs.
Request body
Response
Returned if the request is successful. The complete list of actors for the project is returned.
For example, the cURL request above adds a group, jira-developers. For the response below to be returned as a result of that request, the user Mia Krystof would have previously been added as a user actor for this project.