public class IssueWorklogsApi extends Object
| Constructor and Description |
|---|
IssueWorklogsApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<Worklog> |
addWorklog(String issueIdOrKey,
Worklog requestBody,
Optional<Boolean> notifyUsers,
Optional<String> adjustEstimate,
Optional<String> newEstimate,
Optional<String> reduceBy,
Optional<String> expand,
Optional<Boolean> overrideEditableFlag,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Add worklog
Adds a worklog to an issue.
|
io.reactivex.Completable |
deleteWorklog(String issueIdOrKey,
String id,
Optional<Boolean> notifyUsers,
Optional<String> adjustEstimate,
Optional<String> newEstimate,
Optional<String> increaseBy,
Optional<Boolean> overrideEditableFlag,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Delete worklog
Deletes a worklog from an issue.
|
io.reactivex.Single<ChangedWorklogs> |
getIdsOfWorklogsDeletedSince(Optional<Long> since,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get IDs of deleted worklogs
Returns a list of IDs and delete timestamps for worklogs deleted after a date and time.
|
io.reactivex.Single<ChangedWorklogs> |
getIdsOfWorklogsModifiedSince(Optional<Long> since,
Optional<String> expand,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get IDs of updated worklogs
Returns a list of IDs and update timestamps for worklogs updated after a date and time.
|
io.reactivex.Single<PageOfWorklogs> |
getIssueWorklog(String issueIdOrKey,
Optional<Long> startAt,
Optional<Integer> maxResults,
Optional<Long> startedAfter,
Optional<String> expand,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get issue worklogs
Returns worklogs for an issue, starting from the oldest worklog or from the worklog started on or after a date and time.
|
io.reactivex.Single<Worklog> |
getWorklog(String issueIdOrKey,
String id,
Optional<String> expand,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get worklog
Returns a worklog.
|
io.reactivex.Single<List<Worklog>> |
getWorklogsForIds(WorklogIdsRequestBean worklogIdsRequestBean,
Optional<String> expand,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get worklogs
Returns worklog details for a list of worklog IDs.
|
io.reactivex.Single<Worklog> |
updateWorklog(String issueIdOrKey,
String id,
Worklog requestBody,
Optional<Boolean> notifyUsers,
Optional<String> adjustEstimate,
Optional<String> newEstimate,
Optional<String> expand,
Optional<Boolean> overrideEditableFlag,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Update worklog
Updates a worklog.
|
public IssueWorklogsApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<Worklog> addWorklog(String issueIdOrKey, Worklog requestBody, Optional<Boolean> notifyUsers, Optional<String> adjustEstimate, Optional<String> newEstimate, Optional<String> reduceBy, Optional<String> expand, Optional<Boolean> overrideEditableFlag, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
issueIdOrKey - The ID or key the issue. (required)requestBody - (required)notifyUsers - Whether users watching the issue are notified by email. (optional, default to true)adjustEstimate - Defines how to update the issue's time estimate, the options are: * `new` Sets the estimate to a specific value, defined in `newEstimate`. * `leave` Leaves the estimate unchanged. * `manual` Reduces the estimate by amount specified in `reduceBy`. * `auto` Reduces the estimate by the value of `timeSpent` in the worklog. (optional, default to auto)newEstimate - The value to set as the issue's remaining time estimate, as days (\\#d), hours (\\#h), or minutes (\\#m or \\#). For example, *2d*. Required when `adjustEstimate` is `new`. (optional)reduceBy - The amount to reduce the issue's remaining estimate by, as days (\\#d), hours (\\#h), or minutes (\\#m). For example, *2d*. Required when `adjustEstimate` is `manual`. (optional)expand - Use [expand](#expansion) to include additional information about work logs in the response. This parameter accepts `properties`, which returns worklog properties. (optional, default to "")overrideEditableFlag - Whether the worklog entry should be added to the issue even if the issue is not editable, because jira.issue.editable set to false or missing. For example, the issue is closed. Only connect app users with admin scope permission can use this flag. (optional, default to false)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 deleteWorklog(String issueIdOrKey, String id, Optional<Boolean> notifyUsers, Optional<String> adjustEstimate, Optional<String> newEstimate, Optional<String> increaseBy, Optional<Boolean> overrideEditableFlag, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
issueIdOrKey - The ID or key of the issue. (required)id - The ID of the worklog. (required)notifyUsers - Whether users watching the issue are notified by email. (optional, default to true)adjustEstimate - Defines how to update the issue's time estimate, the options are: * `new` Sets the estimate to a specific value, defined in `newEstimate`. * `leave` Leaves the estimate unchanged. * `manual` Increases the estimate by amount specified in `increaseBy`. * `auto` Reduces the estimate by the value of `timeSpent` in the worklog. (optional, default to auto)newEstimate - The value to set as the issue's remaining time estimate, as days (\\#d), hours (\\#h), or minutes (\\#m or \\#). For example, *2d*. Required when `adjustEstimate` is `new`. (optional)increaseBy - The amount to increase the issue's remaining estimate by, as days (\\#d), hours (\\#h), or minutes (\\#m or \\#). For example, *2d*. Required when `adjustEstimate` is `manual`. (optional)overrideEditableFlag - Whether the work log entry should be added to the issue even if the issue is not editable, because jira.issue.editable set to false or missing. For example, the issue is closed. Only connect app users with admin permissions can use this flag. (optional, default to false)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<ChangedWorklogs> getIdsOfWorklogsDeletedSince(Optional<Long> since, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
since - The date and time, as a UNIX timestamp in milliseconds, after which deleted worklogs are returned. (optional, default to 0l)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<ChangedWorklogs> getIdsOfWorklogsModifiedSince(Optional<Long> since, Optional<String> expand, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
since - The date and time, as a UNIX timestamp in milliseconds, after which updated worklogs are returned. (optional, default to 0l)expand - Use [expand](#expansion) to include additional information about worklogs in the response. This parameter accepts `properties` that returns the properties of each worklog. (optional, default to "")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<PageOfWorklogs> getIssueWorklog(String issueIdOrKey, Optional<Long> startAt, Optional<Integer> maxResults, Optional<Long> startedAfter, Optional<String> expand, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
issueIdOrKey - The ID or key of the issue. (required)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 1048576)startedAfter - The worklog start date and time, as a UNIX timestamp in milliseconds, after which worklogs are returned. (optional)expand - Use [expand](#expansion) to include additional information about worklogs in the response. This parameter accepts`properties`, which returns worklog properties. (optional, default to "")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<Worklog> getWorklog(String issueIdOrKey, String id, Optional<String> expand, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
issueIdOrKey - The ID or key of the issue. (required)id - The ID of the worklog. (required)expand - Use [expand](#expansion) to include additional information about work logs in the response. This parameter accepts `properties`, which returns worklog properties. (optional, default to "")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<Worklog>> getWorklogsForIds(WorklogIdsRequestBean worklogIdsRequestBean, Optional<String> expand, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
worklogIdsRequestBean - A JSON object containing a list of worklog IDs. (required)expand - Use [expand](#expansion) to include additional information about worklogs in the response. This parameter accepts `properties` that returns the properties of each worklog. (optional, default to "")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<Worklog> updateWorklog(String issueIdOrKey, String id, Worklog requestBody, Optional<Boolean> notifyUsers, Optional<String> adjustEstimate, Optional<String> newEstimate, Optional<String> expand, Optional<Boolean> overrideEditableFlag, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
issueIdOrKey - The ID or key the issue. (required)id - The ID of the worklog. (required)requestBody - (required)notifyUsers - Whether users watching the issue are notified by email. (optional, default to true)adjustEstimate - Defines how to update the issue's time estimate, the options are: * `new` Sets the estimate to a specific value, defined in `newEstimate`. * `leave` Leaves the estimate unchanged. * `auto` Updates the estimate by the difference between the original and updated value of `timeSpent` or `timeSpentSeconds`. (optional, default to auto)newEstimate - The value to set as the issue's remaining time estimate, as days (\\#d), hours (\\#h), or minutes (\\#m or \\#). For example, *2d*. Required when `adjustEstimate` is `new`. (optional)expand - Use [expand](#expansion) to include additional information about worklogs in the response. This parameter accepts `properties`, which returns worklog properties. (optional, default to "")overrideEditableFlag - Whether the worklog should be added to the issue even if the issue is not editable. For example, because the issue is closed. Only connect app users with admin permissions can use this flag. (optional, default to false)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.