This article explains how to add Branches for Bamboo plans in large numbers using Jira Command Line Interface (CLI).
Instructions
- Create a CSV file with required data filled into the columns plan and branch as shown in the following screenshot:
Combine the actions runFromCsv and addBranch to create branches in bulk. This example works because the column names in the CSV file are the same as the parameter names for addBranch
--action runFromCsv --file bulkBranches.csv --common "--action addBranch"
It is recommended to test this scenario in a test environment or run the action with the --simulate parameter to verify the behavior before deploying