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

Plan to run other plans with customised build



I have several plans, each one run manually as "customised build", where we can select which stages we are going to run.

I need to create another plan, that will run all these plans with an specific stage (this must be a parameter, chosen by the user during a manual run).

This plugin was recommended in a thread, however I didn't find a way to pass a specific stage.

Is there a way to achieve this with Bamboo?

1 answer

1 accepted

2 votes
Answer accepted
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Sep 20, 2018 • edited Sep 21, 2018

Hi @Junia Porto,

Thank you for your inquire.

I need to create another plan, that will run all these plans with an specific stage (this must be a parameter, chosen by the user during a manual run).

Based on the description provided, this is not a straightforward thing to accomplish, and the reason for that relates to ...with an specific stage...

Lets say you have PROJ-PLAN with the following configuration:

  • Default Stage
  • Stage Two (Manual)
  • Stage Three (Manual)
  • Stage Four

When you select Run customized... by selecting Stage Three, this will automatically select Stage Two to be executed, and this behavior will be the same when making use of Bamboo REST API.

(POST /queue/{projectKey}-{buildKey}?stage&executeAllStages&customRevision):

With the above said, lets say you created a PROJ-TRIGGER that will be used to trigger PROJ-PLAN. Then, you should add an Script task on PROJ-TRIGGER with:

     -H "X-Atlassian-Token: no-check" \
     -d "bamboo.variableKey=variableValue" \
     -X POST "http://localhost:8085/rest/api/latest/queue/PROJ-PLAN?executeAllStages=false&stage=Stage+Two"

In the example above, you would have:

  • cURL command triggering a new build in PROJ-PLAN
  • custom variable passed (bamboo.variableKey=variableValue)
  • not all stages will be triggered (executeAllStages=false)
  • stage to be triggered (stage=Stage+Two), you could replace Stage+Two with a Bamboo Variable automating the Stage to be triggered, instead of hard-coded.

Hope the above finds you well.

Kind regards,


Thank  you, we are going to test this!

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events