public class IssueCustomFieldOptionsApi extends Object
| Constructor and Description |
|---|
IssueCustomFieldOptionsApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<CustomFieldCreatedContextOptionsList> |
createCustomFieldOption(String fieldId,
Long contextId,
BulkCustomFieldOptionCreateRequest bulkCustomFieldOptionCreateRequest,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Create custom field options (context)
Creates options and, where the custom select field is of the type Select List (cascading), cascading options for a custom select field.
|
io.reactivex.Completable |
deleteCustomFieldOption(String fieldId,
Long contextId,
Long optionId,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Delete custom field options (context)
Deletes a custom field option.
|
io.reactivex.Single<CustomFieldOption> |
getCustomFieldOption(String id,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get custom field option
Returns a custom field option.
|
io.reactivex.Single<PageBeanCustomFieldContextOption> |
getOptionsForContext(String fieldId,
Long contextId,
Optional<Long> optionId,
Optional<Boolean> onlyOptions,
Optional<Long> startAt,
Optional<Integer> maxResults,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get custom field options (context)
Returns a [paginated](#pagination) list of all custom field option for a context.
|
io.reactivex.Single<Object> |
reorderCustomFieldOptions(String fieldId,
Long contextId,
OrderOfCustomFieldOptions orderOfCustomFieldOptions,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Reorder custom field options (context)
Changes the order of custom field options or cascading options in a context.
|
io.reactivex.Single<CustomFieldUpdatedContextOptionsList> |
updateCustomFieldOption(String fieldId,
Long contextId,
BulkCustomFieldOptionUpdateRequest bulkCustomFieldOptionUpdateRequest,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Update custom field options (context)
Updates the options of a custom field.
|
public IssueCustomFieldOptionsApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<CustomFieldCreatedContextOptionsList> createCustomFieldOption(String fieldId, Long contextId, BulkCustomFieldOptionCreateRequest bulkCustomFieldOptionCreateRequest, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
fieldId - The ID of the custom field. (required)contextId - The ID of the context. (required)bulkCustomFieldOptionCreateRequest - (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.Completable deleteCustomFieldOption(String fieldId, Long contextId, Long optionId, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
fieldId - The ID of the custom field. (required)contextId - The ID of the context from which an option should be deleted. (required)optionId - The ID of the option to delete. (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<CustomFieldOption> getCustomFieldOption(String id, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the custom field option. (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<PageBeanCustomFieldContextOption> getOptionsForContext(String fieldId, Long contextId, Optional<Long> optionId, Optional<Boolean> onlyOptions, Optional<Long> startAt, Optional<Integer> maxResults, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
fieldId - The ID of the custom field. (required)contextId - The ID of the context. (required)optionId - The ID of the option. (optional)onlyOptions - Whether only options are returned. (optional, default to false)startAt - The index of the first item to return in a page of results (page offset). (optional, default to 0l)maxResults - The maximum number of items to return per page. (optional, default to 100)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> reorderCustomFieldOptions(String fieldId, Long contextId, OrderOfCustomFieldOptions orderOfCustomFieldOptions, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
fieldId - The ID of the custom field. (required)contextId - The ID of the context. (required)orderOfCustomFieldOptions - (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<CustomFieldUpdatedContextOptionsList> updateCustomFieldOption(String fieldId, Long contextId, BulkCustomFieldOptionUpdateRequest bulkCustomFieldOptionUpdateRequest, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
fieldId - The ID of the custom field. (required)contextId - The ID of the context. (required)bulkCustomFieldOptionUpdateRequest - (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.