Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bamboo Plan triggers cron expression

Nat Tsai July 19, 2022

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/

1 answer

1 accepted

0 votes
Answer accepted
Craig Castle-Mead
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 19, 2022

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

jvelapol July 22, 2022

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events