Add actors to project role
Changed onAdds 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.
Request
- Base URL: https://your-domain.atlassian.net
- URL: https://your-domain.atlassian.net/rest/api/2/project/{projectIdOrKey}/role/{id}
- Auth: one of:
- HTTP basic
- OAuth 2 (authorization code, authorization URL https://auth.atlassian.com/authorize, token URL https://auth.atlassian.com/oauth/token, scopes: manage:jira-configuration)
- none
Path parameters
The project ID or project key (case sensitive).
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.
Changes
- warning
added the new
product_discoveryenum value to the//////////response property for the response status
- warning