Project role actors
Set actors for project role
Changed onSets the actors for a project role for a project, replacing all existing actors.
To add actors to the project without overwriting the existing list, use Add actors to project role.
Permissions required: Administer Projects project permission for the project or Administer Jira global permission.
put/rest/api/2/project/{projectIdOrKey}/role/{id}
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-project)
- none
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.
Changes
- warning
added the new
product_discoveryenum value to the//////////response property for the response status
- warning