This article explains how to get the list of unreleased versions in a project using Jira Command Line Interface (CLI).
Instructions
Use To get the list of unreleased versions, use the –options parameter with the value as excludeReleased as shown below. Note that versions are project-specific, so to get the list of versions always use the --project parameter along with --getVersionList to get the released/unreleased version details of a project. The command to use:
Code Block theme Midnight --action getVersionList --options excludeReleased --project CT
If excludeReleased is not used, then the list of all versions available in a project can be obtained. The command to use:
Code Block theme Midnight --action getVersionList --project CT
...
Info |
---|
The command works for cloud as well as self-hosted Jira instances. Refer to these documentations for more information on the actions used: |
...