Is there a way to programmatically change bamboo tasks (like enable and disable)
i noticed the details of tasks are stored in xml_definition_data. is there a plugin that allows for disabling or enabling programmatically?
There is no public API to change this flag directly, but I see two other options that may help:
.stages(new Stage("Default Stage")More details about specs can be found here: Bamboo Specs - Atlassian Documentation.
.jobs(new Job("Default Job", new BambooKey("JOB1"))
I hope those options can help you.