This article explains how to add a trigger to a Bamboo plan using Bamboo Command Line Interface (CLI) app.
...
Info
It is recommended to test the commands in a non-production environment, or, run the action with --simulateparameter to verify the behavior before deploying.