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 Sign up to answer
Community showcase
Posted Tuesday in Statuspage

How do your teams prepare for really high (planned) traffic days like Cyber Monday?

Hi there! Shannon from Statuspage here.  👋  With Cyber Monday quickly approaching, we're looking to hear from Atlassian customers – specifically from teams who touch incident response li...

61 views 0 5
Join discussion

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