jira update-project-version
Update a version of project.
Description
Update a version of project.
Synopsis
jira update-project-version
--site <site>
<version>
[--description <description>]
[--name <name>]
[--archived]
[--released]
[--expand <expand>]
[--move_unfixed_issues_to <move_unfixed_issues_to>]
Arguments
site
- (string)
Example: --site "site-1"
Default: localhost:8081
Attributes: required
version
- (string)
The ID of the version.
Example: "version-1"
Default: _None_
Attributes: required
description
- (string)
The description of the version. Optional when creating or updating a version.
Example: --description "description-1"
Default: _None_
Attributes: optional
name
- (string)
The unique name of the version. Required when creating a version.
Example: --name "name-1"
Default: _None_
Attributes: optional
Validation:
max length: 255
archived
- (bool)
Indicates that the version is archived. Optional when creating or updating a version.
Example: --archived
Default: _None_
Attributes: optional
released
- (bool)
Indicates that the version is released. If the version is released a request to release again is ignored.
Example: --released
Default: _None_
Attributes: optional
expand
- (string)
This parameter accepts operations, which returns actions that can be performed on the version.
Example: --expand "expand-1"
Default: _None_
Attributes: optional
move_unfixed_issues_to
- (string)
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.
Example: --move_unfixed_issues_to "move_unfixed_issues_to-1"
Default: _None_
Attributes: optional
Examples
jira update-project-version "version-1" --description "description-1" --name "name-1" --archived --released --expand "expand-1" --move_unfixed_issues_to "move_unfixed_issues_to-1"
Access Control
To use this command, you need access to the following:
Field | Value |
---|---|
Action | "update" |
Service Type | "jira" |
Service Instance | |
Namespace | |
Object Type | "project-version" |
Object ID | version |
Please see Access Control for details.