public class JiraSettingsApi extends Object
| Constructor and Description |
|---|
JiraSettingsApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<List<ApplicationProperty>> |
getAdvancedSettings(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get advanced settings
Returns the application properties that are accessible on the *Advanced Settings* page.
|
io.reactivex.Single<List<ApplicationProperty>> |
getApplicationProperty(Optional<String> key,
Optional<String> permissionLevel,
Optional<String> keyFilter,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get application property
Returns all application properties or an application property.
|
io.reactivex.Single<ModelConfiguration> |
getConfiguration(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get global settings
Returns the [global settings](https://confluence.atlassian.com/x/qYXKM) in Jira.
|
io.reactivex.Single<ApplicationProperty> |
setApplicationProperty(String id,
SimpleApplicationPropertyBean simpleApplicationPropertyBean,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Set application property
Changes the value of an application property.
|
public JiraSettingsApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<List<ApplicationProperty>> getAdvancedSettings(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<List<ApplicationProperty>> getApplicationProperty(Optional<String> key, Optional<String> permissionLevel, Optional<String> keyFilter, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
key - The key of the application property. (optional)permissionLevel - The permission level of all items being returned in the list. (optional)keyFilter - When a `key` isn't provided, this filters the list of results by the application property `key` using a regular expression. For example, using `jira.lf.*` will return all application properties with keys that start with *jira.lf.*. (optional)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<ModelConfiguration> getConfiguration(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<ApplicationProperty> setApplicationProperty(String id, SimpleApplicationPropertyBean simpleApplicationPropertyBean, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The key of the application property to update. (required)simpleApplicationPropertyBean - (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.