How to remove all capabilities in Bamboo using Bamboo Command Line Interface (CLI)

This article explains how to remove all capabilities in Bamboo using the Bamboo Command Line Interface (CLI).

Instructions

Use runFromCapabilityList and removeCapability to disable all jobs in a Bamboo plan.

--action runFromCapabilityList --common "--action removeCapability --capability \""@capabilityKey@\"""

In the above-mentioned action:


It is recommended to test the commands in a non-production environment or run the action with --simulate parameter to verify the behavior before deploying.