Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article explains how to create versions in bulk, using Jira Command Line Interface (CLI).

Instructions

  1. 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.
    Image Modified
  2. 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
    themeMidnight
    --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.