public class WorklogPropertyApi extends Object
| Constructor and Description |
|---|
WorklogPropertyApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Completable |
deleteWorklogProperty(String issueIdOrKey,
String worklogId,
String propertyKey,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Delete worklog property
Deletes a worklog property.
|
io.reactivex.Single<EntityProperty> |
getWorklogProperty(String issueIdOrKey,
String worklogId,
String propertyKey,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get worklog property
Returns the value of a worklog property.
|
io.reactivex.Single<PropertyKeys> |
getWorklogPropertyKeys(String issueIdOrKey,
String worklogId,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get worklog property keys
Returns the keys of all properties for a worklog.
|
io.reactivex.Single<Object> |
setWorklogProperty(String issueIdOrKey,
String worklogId,
String propertyKey,
Object body,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Set worklog property
Sets the value of a worklog property.
|
public WorklogPropertyApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Completable deleteWorklogProperty(String issueIdOrKey, String worklogId, String propertyKey, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Deletes a worklog property.
This operation can be accessed anonymously.
Permissions required:
issueIdOrKey - The ID or key of the issue.
(required)worklogId - The ID of the worklog.
(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> getWorklogProperty(String issueIdOrKey, String worklogId, String propertyKey, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns the value of a worklog property.
This operation can be accessed anonymously.
Permissions required:
issueIdOrKey - The ID or key of the issue.
(required)worklogId - The ID of the worklog.
(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> getWorklogPropertyKeys(String issueIdOrKey, String worklogId, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns the keys of all properties for a worklog.
This operation can be accessed anonymously.
Permissions required:
issueIdOrKey - The ID or key of the issue.
(required)worklogId - The ID of the worklog.
(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> setWorklogProperty(String issueIdOrKey, String worklogId, String propertyKey, Object body, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Sets the value of a worklog property. Use this operation to store custom data against the worklog.
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)worklogId - The ID of the worklog.
(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.