Class UpdateWorklogOperationSpec.UpdateWorklogOperationSpecBuilder
java.lang.Object
io.github.primelib.jira4j.restv2.spec.UpdateWorklogOperationSpec.UpdateWorklogOperationSpecBuilder
- Enclosing class:
- UpdateWorklogOperationSpec
-
Method Summary
Modifier and TypeMethodDescriptionadjustEstimate
(@Nullable String adjustEstimate) Defines how to update the issue's time estimate, the options are: *new
Sets the estimate to a specific value, defined innewEstimate
.build()
Use [expand](#expansion) to include additional information about worklogs in the response.The ID of the worklog.issueIdOrKey
(@NotNull String issueIdOrKey) The ID or key the issue.newEstimate
(@Nullable String newEstimate) The value to set as the issue's remaining time estimate, as days (\\#d), hours (\\#h), or minutes (\\#m or \\#).notifyUsers
(@Nullable Boolean notifyUsers) Whether users watching the issue are notified by email.overrideEditableFlag
(@Nullable Boolean overrideEditableFlag) Whether the worklog should be added to the issue even if the issue is not editable.toString()
-
Method Details
-
issueIdOrKey
public UpdateWorklogOperationSpec.UpdateWorklogOperationSpecBuilder issueIdOrKey(@NotNull @NotNull String issueIdOrKey) The ID or key the issue.- Returns:
this
.
-
id
The ID of the worklog.- Returns:
this
.
-
worklog
public UpdateWorklogOperationSpec.UpdateWorklogOperationSpecBuilder worklog(@NotNull @NotNull Worklog worklog) - Returns:
this
.
-
notifyUsers
public UpdateWorklogOperationSpec.UpdateWorklogOperationSpecBuilder notifyUsers(@Nullable @Nullable Boolean notifyUsers) Whether users watching the issue are notified by email.- Returns:
this
.
-
adjustEstimate
public UpdateWorklogOperationSpec.UpdateWorklogOperationSpecBuilder adjustEstimate(@Nullable @Nullable String adjustEstimate) Defines how to update the issue's time estimate, the options are: *new
Sets the estimate to a specific value, defined innewEstimate
. *leave
Leaves the estimate unchanged. *auto
Updates the estimate by the difference between the original and updated value oftimeSpent
ortimeSpentSeconds
.- Returns:
this
.
-
newEstimate
public UpdateWorklogOperationSpec.UpdateWorklogOperationSpecBuilder newEstimate(@Nullable @Nullable String 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 whenadjustEstimate
isnew
.- Returns:
this
.
-
expand
public UpdateWorklogOperationSpec.UpdateWorklogOperationSpecBuilder expand(@Nullable @Nullable String expand) Use [expand](#expansion) to include additional information about worklogs in the response. This parameter acceptsproperties
, which returns worklog properties.- Returns:
this
.
-
overrideEditableFlag
public UpdateWorklogOperationSpec.UpdateWorklogOperationSpecBuilder overrideEditableFlag(@Nullable @Nullable Boolean overrideEditableFlag) Whether the worklog should be added to the issue even if the issue is not editable. For example, because the issue is closed. Connect and Forge app users with *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg) can use this flag.- Returns:
this
.
-
build
-
toString
-