/
How to add assignments to agents in bulk using Bamboo Command Line Interface (CLI)
How to add assignments to agents in bulk using Bamboo Command Line Interface (CLI)
This article explains how to add assignments to agents in bulk using Bamboo Command Line Interface (CLI).
Instructions
Combine the actions runFromCsv and addAgentAssignment to add assignments to agents in bulk.
- Create a CSV file with required data filled in the columns agent and assignment. For this example, consider a file, agentfile.csv, as shown in the following screenshot:
Execute the following command:
--action runFromCsv --file bulkassignment.csv --common "--action addAgentAssignment"
Note that this example works because the column names in the CSV file are same as the parameters required for addAgentAssignment.
It is recommended to test the command in a non-production environment before running in production, or, run the action with --simulate parameter to verify the behaviour before deploying.
Related content
Create Bamboo plans in bulk using Bamboo Command Line Interface (CLI)
Create Bamboo plans in bulk using Bamboo Command Line Interface (CLI)
More like this
Add branches for Bamboo plan in bulk using Bamboo Command Line Interface (CLI)
Add branches for Bamboo plan in bulk using Bamboo Command Line Interface (CLI)
More like this
How to add inline script task in Bamboo job using Bamboo Command Line Interface (CLI)
How to add inline script task in Bamboo job using Bamboo Command Line Interface (CLI)
More like this
How to add Bamboo CLI task in a Bamboo job with Run CLI Actions in Bamboo
How to add Bamboo CLI task in a Bamboo job with Run CLI Actions in Bamboo
More like this
How to add a requirement to a deployment environment using Bamboo Command Line Interface (CLI)
How to add a requirement to a deployment environment using Bamboo Command Line Interface (CLI)
More like this
How to add environment task to a deployment project using Bamboo CLI
How to add environment task to a deployment project using Bamboo CLI
More like this