java.lang.Object | |
↳ | com.atlassian.jira.rest.v2.issue.project.ProjectRoleResource |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ProjectRoleResource.ActorsMap |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GET_ROLES_DOC_EXAMPLE |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds an actor (user or group) to a project role.
| |||||||||||
Deletes actors (users or groups) from a project role.
| |||||||||||
Returns the details for a given project role in a project.
| |||||||||||
Returns all roles in the given project Id or key, with links to full details on each role.
| |||||||||||
Updates a project role to include the specified actors (users or groups).
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Adds an actor (user or group) to a project role.
projectIdOrKey | the project id or project key |
---|---|
id | the project role id |
actors | the actors to add to the role |
Deletes actors (users or groups) from a project role.
/rest/api/2/project/{projectIdOrKey}/role/{roleId}?user={username}
/rest/api/2/project/{projectIdOrKey}/role/{roleId}?group={groupname}
projectIdOrKey | the project id or project key |
---|---|
id | the project role id |
username | the username to remove from the project role |
groupname | the groupname to remove from the project role |
Returns the details for a given project role in a project.
projectIdOrKey | the project id or project key |
---|---|
id | the project role id |
Returns all roles in the given project Id or key, with links to full details on each role.
projectIdOrKey | the project id or project key |
---|
Updates a project role to include the specified actors (users or groups).
projectIdOrKey | the project id or project key |
---|---|
id | the project role id |
actors | the actors to set for the role |