public class FieldApi extends Object
| Constructor and Description |
|---|
FieldApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<FieldDeprecated> |
createCustomField(CustomFieldDefinitionJsonBean customFieldDefinitionJsonBean,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Create custom field
Creates a custom field.
|
io.reactivex.Single<List<FieldDeprecated>> |
getFields(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get fields
Returns system and custom issue fields according to the following rules: Fields that cannot be added to the issue navigator are always returned.
|
public io.reactivex.Single<FieldDeprecated> createCustomField(CustomFieldDefinitionJsonBean customFieldDefinitionJsonBean, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Creates a custom field.
Permissions required: Administer Jira global permission.
customFieldDefinitionJsonBean - Definition of the custom field to be created
(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<List<FieldDeprecated>> getFields(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns system and custom issue fields according to the following rules:
This operation can be accessed anonymously.
Permissions required: None.
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.