java.lang.Object | |
↳ | com.atlassian.jira.rest.v2.issue.VersionResource |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a remote version link via POST using the provided global ID.
| |||||||||||
Create a remote version link via POST.
| |||||||||||
Create a version via POST.
| |||||||||||
Delete a project version.
| |||||||||||
Delete a specific remote version link with the given version ID and global ID.
| |||||||||||
Delete all remote version links for a given version ID.
| |||||||||||
A REST sub-resource representing a remote version link
| |||||||||||
Returns the remote version links for a given global ID.
| |||||||||||
Returns the remote version links associated with the given version ID.
| |||||||||||
Returns a project version.
| |||||||||||
Returns a bean containing the number of fixed in and affected issues for the given version.
| |||||||||||
Returns the number of unresolved issues for the given version
| |||||||||||
Modify a version's sequence within a project.
| |||||||||||
Modify a version via PUT.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Create a remote version link via POST using the provided global ID.
Create a remote version link via POST. The link's global ID will be taken from the JSON payload if provided; otherwise, it will be generated.
Delete a project version.
id | The version to delete |
---|---|
moveFixIssuesTo | The version to set fixVersion to on issues where the deleted version is the fix version, If null then the fixVersion is removed. |
moveAffectedIssuesTo | The version to set affectedVersion to on issues where the deleted version is the affected version, If null then the affectedVersion is removed. |
Delete a specific remote version link with the given version ID and global ID.
versionId | The version ID of the remote link |
---|---|
globalId | The global ID of the remote link |
Delete all remote version links for a given version ID.
versionId | The version for which to delete ALL existing remote version links |
---|
A REST sub-resource representing a remote version link
versionId | a String containing the version id |
---|---|
globalId | The id of the remote issue link to be returned. If null (not provided) all
remote links for the issue are returned.
Remote version links follow the same general rules that Issue Links do, except that they are permitted to use any arbitrary well-formed JSON data format with no restrictions imposed. It is recommended, but not required, that they follow the same format used for Remote Issue Links, as described at https://developer.atlassian.com/display/JIRADEV/Fields+in+Remote+Issue+Links. |
Response
containing a RemoteEntityLinksJsonBean
s
is returned. Otherwise, a Response containing a RemoteEntityLinkJsonBean
with the given
globalId
is returned.Returns the remote version links for a given global ID.
globalId | the global ID of the remote resource that is linked to the versions |
---|
Returns the remote version links associated with the given version ID.
versionId | a String containing the version ID |
---|
Returns a project version.
id | a String containing the version id |
---|
Returns a bean containing the number of fixed in and affected issues for the given version.
id | a String containing the version id |
---|
Returns the number of unresolved issues for the given version
id | a String containing the version id |
---|
Modify a version's sequence within a project.
The move version bean has 2 alternative field value pairs:
id | a String containing the version id |
---|---|
bean | a MoveVersionBean that describes the move to be performed. |
Modify a version via PUT. Any fields present in the PUT will override existing values. As a convenience, if a field is not present, it is silently ignored.