public class IssuePropertyApi extends Object
| Constructor and Description |
|---|
IssuePropertyApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Completable |
deleteIssueProperty(String issueIdOrKey,
String propertyKey,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Delete issue property
Deletes an issue's property.
|
io.reactivex.Single<EntityProperty> |
getIssueProperty(String issueIdOrKey,
String propertyKey,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get issue property
Returns the key and value of an issue's property.
|
io.reactivex.Single<PropertyKeys> |
getIssuePropertyKeys(String issueIdOrKey,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get issue property keys
Returns the URLs and keys of an issue's properties.
|
io.reactivex.Single<Object> |
setIssueProperty(String issueIdOrKey,
String propertyKey,
Object body,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Set issue property
Sets the value of an issue's property.
|
public IssuePropertyApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Completable deleteIssueProperty(String issueIdOrKey, String propertyKey, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Deletes an issue's property.
This operation can be accessed anonymously.
Permissions required:
issueIdOrKey - The key or ID of the issue.
(required)propertyKey - The key of the property.
(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<EntityProperty> getIssueProperty(String issueIdOrKey, String propertyKey, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns the key and value of an issue's property.
This operation can be accessed anonymously.
Permissions required:
issueIdOrKey - The key or ID of the issue.
(required)propertyKey - The key of the property.
(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<PropertyKeys> getIssuePropertyKeys(String issueIdOrKey, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns the URLs and keys of an issue's properties.
This operation can be accessed anonymously.
Permissions required: Property details are only returned where the user has:
issueIdOrKey - The key or ID of the issue.
(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> setIssueProperty(String issueIdOrKey, String propertyKey, Object body, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Sets the value of an issue's property. Use this resource to store custom data against an issue.
The value of the request body must be a valid, non-empty JSON blob. The maximum length is 32768 characters.
This operation can be accessed anonymously.
Permissions required:
issueIdOrKey - The ID or key of the issue.
(required)propertyKey - The key of the issue property. The maximum length is 255 characters.
(required)body - (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.