This article explains how to create versions in bulk using Jira Command Line Interface (CLI).
Instructions
- Create a CSV file with the following columns:
- project for the project name.
- version for the version name.
- description for the version description.
- startDate for the version start date.
- date for the version release date:
Combine runFromCsv action with --file parameter and addVersion action with --dateFormat parameter to create versions in bulk. This example works because the CSV file contains the data that is required for the addVersion action with relevant parameters.
--action runFromCsv --file versions.csv --common "--action addVersion --dateFormat "dd/mm/yyyy" "
It is recommended to test this scenario in a non-production environment or run the action with --simulate parameter, to verify the behavior before deploying on a production environment.