Klasse UpdateWorklogOperationSpec.UpdateWorklogOperationSpecBuilder
java.lang.Object
io.github.primelib.jira4j.restv3.spec.UpdateWorklogOperationSpec.UpdateWorklogOperationSpecBuilder
- Umschließende Klasse:
UpdateWorklogOperationSpec
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungadjustEstimate
(@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()
-
Methodendetails
-
issueIdOrKey
public UpdateWorklogOperationSpec.UpdateWorklogOperationSpecBuilder issueIdOrKey(@NotNull @NotNull String issueIdOrKey) The ID or key the issue.- Gibt zurück:
this
.
-
id
The ID of the worklog.- Gibt zurück:
this
.
-
worklog
public UpdateWorklogOperationSpec.UpdateWorklogOperationSpecBuilder worklog(@NotNull @NotNull Worklog worklog) - Gibt zurück:
this
.
-
notifyUsers
public UpdateWorklogOperationSpec.UpdateWorklogOperationSpecBuilder notifyUsers(@Nullable @Nullable Boolean notifyUsers) Whether users watching the issue are notified by email.- Gibt zurück:
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
.- Gibt zurück:
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
.- Gibt zurück:
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.- Gibt zurück:
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.- Gibt zurück:
this
.
-
build
-
toString
-