Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Can any way update the bamboo plan triggers schedule without Bamboo UI? for example restful API
We hope through automation action change Bamboo Plan triggers cron expression, but Bamboo API doesn't have any about triggers configs.
Bamboo API: https://docs.atlassian.com/atlassian-bamboo/REST/8.2.4/
Hey @Nat Tsai
Unfortunately as you've found, the Bamboo REST API is far from having parity with the UI itself. You're unable to setup/configure linked repositories and much more via REST API.
One non-UI approach that may help you out is to configure your plan using Bamboo Specs - this can be done via Java or YAML. The YAML reference for specifying triggers using a cron schedule can be found at https://docs.atlassian.com/bamboo-specs-docs/7.0.1/specs.html?yaml#polling-the-repository-for-changes
CCM
Yeah - the YAML configurations for 8.2.x are "better" than they were for 7.0.1. The link for the 8.2.x version of the YAML specs are https://docs.atlassian.com/bamboo-specs-docs/8.2.4/specs.html?yaml#polling-the-repository-for-changes but they look to be the same for polling based checking in Bamboo 7.0.1 also.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.