Skip to content

jira get-project-versions

Returns a list of project versions.

Description

Returns a list of project versions.

Synopsis

jira get-project-versions
    --site <site>
    <project>
    [--expand <expand>]

Arguments

site - (string)

    
     Example: --site "site-1"
     Default: localhost:8081      Attributes: required

project - (string)

     The project ID (case sensitive)
     Example: "project-1"
     Default: _None_      Attributes: required

expand - (string)

     This parameter accepts operations, which returns actions that can be performed on the version.
     Example: --expand "expand-1"
     Default: _None_      Attributes: optional

Examples

jira get-project-versions "project-1" --expand "expand-1"

Access Control

To use this command, you need access to the following:

Field Value
Action "read"
Service Type "jira"
Service Instance
Namespace
Object Type "project-version"
Object ID project

Please see Access Control for details.