This article explains how to create components in bulk using Jira Command Line Interface (CLI).
- Create a CSV file with the following columns:
Combine runFromCsv with the --file parameter and addComponent action to create components in bulk. This example works because the CSV file contains the data that is required for the addComponent action with relevant parameters.
--action runFromCsv --file Components.csv --common "--action addComponent"
It is recommended to test this scenario in a non-production environment or run the action with the --simulate parameter, to verify the behavior before deploying on a production environment.