PUT /rest/api/2/project/{projectIdOrKey}/role/{id}
Sets 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.
Servers
- https://your-domain.atlassian.net
Path parameters
Name | Type | Required | Description |
---|---|---|---|
id |
Integer | Yes |
The ID of the project role. Use Get all project roles to get a list of project role IDs. |
projectIdOrKey |
String | Yes |
The project ID or project key (case sensitive). |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
id |
Integer | No |
The ID of the project role. Use Get all project roles to get a list of project role IDs. |
categorisedActors |
Object | No |
The actors to add to the project role. Add groups using:
As a group's name can change, use of Add users using |
categorisedActors.name |
String | No |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.