public class ProjectRoleDetailsApi extends Object
| Constructor and Description |
|---|
ProjectRoleDetailsApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<List<ProjectRole>> |
getProjectRoleDetails(String projectIdOrKey,
Optional<Boolean> currentMember,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get project role details
Returns all project roles and the details for each role.
|
public ProjectRoleDetailsApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<List<ProjectRole>> getProjectRoleDetails(String projectIdOrKey, Optional<Boolean> currentMember, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns all project roles and the details for each role. Note that the list of project roles is common to all projects.
This operation can be accessed anonymously.
Permissions required: Administer Jira global permission or Administer projects project permission for the project.
projectIdOrKey - The project ID or project key (case sensitive).
(required)currentMember - Whether the roles should be filtered to include only those the user is assigned to.
(optional, default to false)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
Copyright © 2011–2021 Everit Kft.. All rights reserved.