Klasse AddWorklogOperationSpec.AddWorklogOperationSpecBuilder
java.lang.Object
io.github.primelib.jira4j.restv3.spec.AddWorklogOperationSpec.AddWorklogOperationSpecBuilder
- Umschließende Klasse:
AddWorklogOperationSpec
-
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 work logs in the response.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 entry should be added to the issue even if the issue is not editable, because jira.issue.editable set to false or missing.The amount to reduce the issue's remaining estimate by, as days (\\#d), hours (\\#h), or minutes (\\#m).toString()
-
Methodendetails
-
issueIdOrKey
public AddWorklogOperationSpec.AddWorklogOperationSpecBuilder issueIdOrKey(@NotNull @NotNull String issueIdOrKey) The ID or key the issue.- Gibt zurück:
this
.
-
worklog
public AddWorklogOperationSpec.AddWorklogOperationSpecBuilder worklog(@NotNull @NotNull Worklog worklog) - Gibt zurück:
this
.
-
notifyUsers
public AddWorklogOperationSpec.AddWorklogOperationSpecBuilder notifyUsers(@Nullable @Nullable Boolean notifyUsers) Whether users watching the issue are notified by email.- Gibt zurück:
this
.
-
adjustEstimate
public AddWorklogOperationSpec.AddWorklogOperationSpecBuilder 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
Reduces the estimate by amount specified inreduceBy
. *auto
Reduces the estimate by the value oftimeSpent
in the worklog.- Gibt zurück:
this
.
-
newEstimate
public AddWorklogOperationSpec.AddWorklogOperationSpecBuilder 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
.
-
reduceBy
public AddWorklogOperationSpec.AddWorklogOperationSpecBuilder reduceBy(@Nullable @Nullable String reduceBy) The amount to reduce the issue's remaining estimate by, as days (\\#d), hours (\\#h), or minutes (\\#m). For example, *2d*. Required whenadjustEstimate
ismanual
.- Gibt zurück:
this
.
-
expand
public AddWorklogOperationSpec.AddWorklogOperationSpecBuilder expand(@Nullable @Nullable String expand) Use [expand](#expansion) to include additional information about work logs in the response. This parameter acceptsproperties
, which returns worklog properties.- Gibt zurück:
this
.
-
overrideEditableFlag
public AddWorklogOperationSpec.AddWorklogOperationSpecBuilder overrideEditableFlag(@Nullable @Nullable Boolean 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. 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
-