Class Worklog.WorklogBuilder
java.lang.Object
io.github.primelib.jira4j.restv3.model.Worklog.WorklogBuilder
- Enclosing class:
- Worklog
-
Method Summary
Modifier and TypeMethodDescriptionauthor(WorklogAuthor author) build()A comment about the worklog in [Atlassian Document Format](https://developer.atlassian.com/cloud/jira/platform/apis/document/structure/).created(OffsetDateTime created) The datetime on which the worklog was created.The ID of the worklog record.The ID of the issue this worklog is for.properties(List<EntityProperty> properties) Details of properties for the worklog.The URL of the worklog item.started(OffsetDateTime started) The datetime on which the worklog effort was started.The time spent working on the issue as days (\\#d), hours (\\#h), or minutes (\\#m or \\#).timeSpentSeconds(Long timeSpentSeconds) The time in seconds spent working on the issue.toString()updateAuthor(WorklogUpdateAuthor updateAuthor) updated(OffsetDateTime updated) The datetime on which the worklog was last updated.visibility(Visibility visibility)
-
Method Details
-
author
- Returns:
this.
-
comment
A comment about the worklog in [Atlassian Document Format](https://developer.atlassian.com/cloud/jira/platform/apis/document/structure/). Optional when creating or updating a worklog.- Returns:
this.
-
created
The datetime on which the worklog was created.- Returns:
this.
-
id
The ID of the worklog record.- Returns:
this.
-
issueId
The ID of the issue this worklog is for.- Returns:
this.
-
properties
Details of properties for the worklog. Optional when creating or updating a worklog.- Returns:
this.
-
self
The URL of the worklog item.- Returns:
this.
-
started
The datetime on which the worklog effort was started. Required when creating a worklog. Optional when updating a worklog.- Returns:
this.
-
timeSpent
The time spent working on the issue as days (\\#d), hours (\\#h), or minutes (\\#m or \\#). Required when creating a worklog iftimeSpentSecondsisn't provided. Optional when updating a worklog. Cannot be provided iftimeSpentSecondis provided.- Returns:
this.
-
timeSpentSeconds
The time in seconds spent working on the issue. Required when creating a worklog iftimeSpentisn't provided. Optional when updating a worklog. Cannot be provided iftimeSpentis provided.- Returns:
this.
-
updateAuthor
- Returns:
this.
-
updated
The datetime on which the worklog was last updated.- Returns:
this.
-
visibility
- Returns:
this.
-
build
-
toString
-