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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

"Single daily build" trigger with custom variable

Hi all!

We have a plan with a required variable - everyone who runs the plan has to specify it manually using "Run customised..." -> "Override a variable".

Now I want to add two "Single daily build" triggers:

  1. Triggers everyday at 4am with this variable overridden with value "X"

  2. Triggers everyday at 6am with this variable overridden with value "Y"

Is there a way to do it? Seems that triggers don't know anything about variables.

1 answer

0 votes
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jul 18, 2019

Hi @Anton Egorov

You won't be able to use Bamboo triggers to achieve this, as you already know.

What you can do instead is to configure your server cron or even create a special plan in Bamboo that will serve as your cron to call the following REST API:

curl --user <USER>:<PASSWORD> --data "bamboo.variable=value" -X POST <BAMBOO-URL>/rest/api/latest/queue/<PLAN-KEY>

Using this endpoint you are able to start a build with the specified variable you want.

In case you want to create a special build in Bamboo for that, then you will need to create a script task to check the time and decide whether the variable to be passed is X or Y.

I hope that helps.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events