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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Bamboo Plan triggers cron expression

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.
Jul 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

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