Class Version.VersionBuilder
java.lang.Object
io.github.primelib.jira4j.restv2.model.Version.VersionBuilder
- Enclosing class:
- Version
-
Method Summary
Modifier and TypeMethodDescriptionapprovers
(List<VersionApprover> approvers) If the expand optionapprovers
is used, returns a list containing the approvers for this version.Indicates that the version is archived.build()
description
(String description) The description of the version.If the expand optiondriver
is used, returns the Atlassian account ID of the driver.Use [expand](em>#expansion) to include additional information about version in the response.The ID of the version.issuesStatusForFixVersion
(VersionIssuesStatusForFixVersion issuesStatusForFixVersion) moveUnfixedIssuesTo
(URI moveUnfixedIssuesTo) The URL of the self link to the version to which all unfixed issues are moved when a version is released.The unique name of the version.operations
(List<SimpleLink> operations) If the expand optionoperations
is used, returns the list of operations available for this version.Indicates that the version is overdue.Deprecated.The ID of the project to which this version is attached.Indicates that the version is released.releaseDate
(LocalDate releaseDate) The release date of the version.The URL of the version.The start date of the version.toString()
userReleaseDate
(String userReleaseDate) The date on which work on this version is expected to finish, expressed in the instance's *Day/Month/Year Format* date format.userStartDate
(String userStartDate) The date on which work on this version is expected to start, expressed in the instance's *Day/Month/Year Format* date format.
-
Method Details
-
approvers
If the expand optionapprovers
is used, returns a list containing the approvers for this version.- Returns:
this
.
-
archived
Indicates that the version is archived. Optional when creating or updating a version.- Returns:
this
.
-
description
The description of the version. Optional when creating or updating a version. The maximum size is 16,384 bytes.- Returns:
this
.
-
driver
If the expand optiondriver
is used, returns the Atlassian account ID of the driver.- Returns:
this
.
-
expand
Use [expand](em>#expansion) to include additional information about version in the response. This parameter accepts a comma-separated list. Expand options include: *operations
Returns the list of operations available for this version. *issuesstatus
Returns the count of issues in this version for each of the status categories *to do*, *in progress*, *done*, and *unmapped*. The *unmapped* property contains a count of issues with a status other than *to do*, *in progress*, and *done*. *driver
Returns the Atlassian account ID of the version driver. *approvers
Returns a list containing approvers for this version. Optional for create and update.- Returns:
this
.
-
id
The ID of the version.- Returns:
this
.
-
issuesStatusForFixVersion
public Version.VersionBuilder issuesStatusForFixVersion(VersionIssuesStatusForFixVersion issuesStatusForFixVersion) - Returns:
this
.
-
moveUnfixedIssuesTo
The URL of the self link to the version to which all unfixed issues are moved when a version is released. Not applicable when creating a version. Optional when updating a version.- Returns:
this
.
-
name
The unique name of the version. Required when creating a version. Optional when updating a version. The maximum length is 255 characters.- Returns:
this
.
-
operations
If the expand optionoperations
is used, returns the list of operations available for this version.- Returns:
this
.
-
overdue
Indicates that the version is overdue.- Returns:
this
.
-
project
Deprecated. UseprojectId
.- Returns:
this
.
-
projectId
The ID of the project to which this version is attached. Required when creating a version. Not applicable when updating a version.- Returns:
this
.
-
releaseDate
The release date of the version. Expressed in ISO 8601 format (yyyy-mm-dd). Optional when creating or updating a version.- Returns:
this
.
-
released
Indicates that the version is released. If the version is released a request to release again is ignored. Not applicable when creating a version. Optional when updating a version.- Returns:
this
.
-
self
The URL of the version.- Returns:
this
.
-
startDate
The start date of the version. Expressed in ISO 8601 format (yyyy-mm-dd). Optional when creating or updating a version.- Returns:
this
.
-
userReleaseDate
The date on which work on this version is expected to finish, expressed in the instance's *Day/Month/Year Format* date format.- Returns:
this
.
-
userStartDate
The date on which work on this version is expected to start, expressed in the instance's *Day/Month/Year Format* date format.- Returns:
this
.
-
build
-
toString
-