Trigger plan from plan


I would like to ask, if there is any easy way to trigger one or more plans (subplans) from within another plan (master) and wait till they finnish inside the master plan.


I have master plan which has three parts:

  • initiliazation - prepares environment
  • build - calls one or more subplans to build their stuff
  • final - collects all results, generates outputs, clean environment

The point is, that there is currently no easy way to start subplan from withing master plan and wait for them. Only way I found is to start subplans from "script" task via calling bamboo-api. But it uses local agent. This way I am able to employ 50 local agents in my specific scenerio for one run. These agents do nothing, just waiting till subplans finnish. Do you imagine, that I want to run more then 10 these scenerious at the same time?

I will appreciate any any advise.

Thank you



Update: Any new idea, please? If there is no way to do this, maybe that could be nice new feature in next bamboo version.  Could I ask for it in some case of Attlasian backlog? Thank you

1 answer

You can use the queueBuild action in a CLI task from Run CLI Actions in Bamboo.

Thank you for your answer, but this will not help in my situation. This is still just a call/trigger/queue plan from within a specific task, which needs local agent running. I am looking for some mechanism, which could be included directly inside bamboo, like plan dependencies

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,066 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot