public class ProjectSecurityLevelApi extends Object
| Constructor and Description |
|---|
ProjectSecurityLevelApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<ProjectIssueSecurityLevels> |
getSecurityLevelsForProject(String projectKeyOrId,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get project issue security levels
Returns all issue security levels for the project that the user has access to.
|
public ProjectSecurityLevelApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<ProjectIssueSecurityLevels> getSecurityLevelsForProject(String projectKeyOrId, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns all issue security levels for the project that the user has access to.
This operation can be accessed anonymously.
Permissions required: Browse projects global permission for the project, however, issue security levels are only returned for authenticated user with Set Issue Security global permission for the project.
projectKeyOrId - The project ID or project key (case sensitive).
(required)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.