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