Class DeleteWorklogOperationSpec.DeleteWorklogOperationSpecBuilder
java.lang.Object
io.github.primelib.jira4j.restv2.spec.DeleteWorklogOperationSpec.DeleteWorklogOperationSpecBuilder
- Enclosing class:
- DeleteWorklogOperationSpec
-
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()
The ID of the worklog.increaseBy
(@Nullable String increaseBy) The amount to increase the issue's remaining estimate by, as days (\\#d), hours (\\#h), or minutes (\\#m or \\#).issueIdOrKey
(@NotNull String issueIdOrKey) The ID or key of 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 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.toString()
-
Method Details
-
issueIdOrKey
public DeleteWorklogOperationSpec.DeleteWorklogOperationSpecBuilder issueIdOrKey(@NotNull @NotNull String issueIdOrKey) The ID or key of the issue.- Returns:
this
.
-
id
The ID of the worklog.- Returns:
this
.
-
notifyUsers
public DeleteWorklogOperationSpec.DeleteWorklogOperationSpecBuilder notifyUsers(@Nullable @Nullable Boolean notifyUsers) Whether users watching the issue are notified by email.- Returns:
this
.
-
adjustEstimate
public DeleteWorklogOperationSpec.DeleteWorklogOperationSpecBuilder 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. *manual
Increases the estimate by amount specified inincreaseBy
. *auto
Reduces the estimate by the value oftimeSpent
in the worklog.- Returns:
this
.
-
newEstimate
public DeleteWorklogOperationSpec.DeleteWorklogOperationSpecBuilder 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
.
-
increaseBy
public DeleteWorklogOperationSpec.DeleteWorklogOperationSpecBuilder increaseBy(@Nullable @Nullable String increaseBy) The amount to increase the issue's remaining estimate by, as days (\\#d), hours (\\#h), or minutes (\\#m or \\#). For example, *2d*. Required whenadjustEstimate
ismanual
.- Returns:
this
.
-
overrideEditableFlag
public DeleteWorklogOperationSpec.DeleteWorklogOperationSpecBuilder overrideEditableFlag(@Nullable @Nullable Boolean 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. Connect and Forge app users with admin permission can use this flag.- Returns:
this
.
-
build
-
toString
-