public class IssuePrioritiesApi extends Object
| Constructor and Description |
|---|
IssuePrioritiesApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<PriorityId> |
createPriority(Map<String,Object> requestBody,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Create priority
Creates an issue priority.
|
io.reactivex.Completable |
deletePriority(String id,
String replaceWith,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Deprecated.
|
io.reactivex.Single<List<Priority>> |
getPriorities(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Deprecated.
|
io.reactivex.Single<Priority> |
getPriority(String id,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get priority
Returns an issue priority.
|
io.reactivex.Single<Object> |
movePriorities(ReorderIssuePriorities reorderIssuePriorities,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Move priorities
Changes the order of issue priorities.
|
io.reactivex.Single<PageBeanPriority> |
searchPriorities(Optional<String> startAt,
Optional<String> maxResults,
Optional<List<String>> id,
Optional<List<String>> projectId,
Optional<String> priorityName,
Optional<Boolean> onlyDefault,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Search priorities
Returns a [paginated](#pagination) list of priorities.
|
io.reactivex.Single<Object> |
setDefaultPriority(SetDefaultPriorityRequest setDefaultPriorityRequest,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Set default priority
Sets default issue priority.
|
io.reactivex.Single<Object> |
updatePriority(String id,
Map<String,Object> requestBody,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Update priority
Updates an issue priority.
|
public IssuePrioritiesApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<PriorityId> createPriority(Map<String,Object> requestBody, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
requestBody - (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
@Deprecated public io.reactivex.Completable deletePriority(String id, String replaceWith, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the issue priority. (required)replaceWith - The ID of the issue priority that will replace the currently selected resolution. (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
@Deprecated public io.reactivex.Single<List<Priority>> getPriorities(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<Priority> getPriority(String id, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the issue priority. (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<Object> movePriorities(ReorderIssuePriorities reorderIssuePriorities, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
reorderIssuePriorities - (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<PageBeanPriority> searchPriorities(Optional<String> startAt, Optional<String> maxResults, Optional<List<String>> id, Optional<List<String>> projectId, Optional<String> priorityName, Optional<Boolean> onlyDefault, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
startAt - The index of the first item to return in a page of results (page offset). (optional, default to "0")maxResults - The maximum number of items to return per page. (optional, default to "50")id - The list of priority IDs. To include multiple IDs, provide an ampersand-separated list. For example, `id=2&id=3`. (optional, default to new ArrayList<>())projectId - The list of projects IDs. To include multiple IDs, provide an ampersand-separated list. For example, `projectId=10010&projectId=10111`. (optional, default to new ArrayList<>())priorityName - The name of priority to search for. (optional, default to "")onlyDefault - Whether only the default priority is returned. (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.
public io.reactivex.Single<Object> setDefaultPriority(SetDefaultPriorityRequest setDefaultPriorityRequest, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
setDefaultPriorityRequest - (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<Object> updatePriority(String id, Map<String,Object> requestBody, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the issue priority. (required)requestBody - (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–2023 Everit Kft.. All rights reserved.