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

How to create a build trigger with multiple build parameters

Hi Team,

I want to schedule a Bamboo build with various parameters. 

For example, if the build has variables like environment , user. 

I want to create multiple triggers as below.

1. run every Monday at 5 pm with environment=Dev, user=testuser

2. run every Monday at 6 pm with environment=PROD, user=produser

I want to know how to do this? Is it possible to achieve using cron?



1 answer

0 votes

Hello @Mohana Krishna

Welcome to Atlassian Community!

You can implement as many triggers as you want by using a Cron-based Scheduler, but that option will not allow you to set environment variables.

To have that set, you will need to trigger the builds via the REST API and then declare the variables you wish. To know more about how to trigger a Build please check the following documentation:

Make sure you provide the required variables by using the following format bamboo.variable.myVariable=valueForMyVariable as shown n the REST API example page.

You can then add the REST API scripts to cron and trigger them remotely.

Best regards,

Eduardo Alvarenga
Atlassian Support APAC

--please don't forget to Accept the answer if the reply is helpful-- 

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events