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

Bamboo Specs 6.3.1 - requireAllStagesPassing(true) doesn't work



I'm trying to set up a dependency between two projects/plans through Bamboo JAVA Specs. I could trigger a child plan but the problem is that it's always being triggered even though "requireAllStagesPassing(true)" is called and the parent job bypassed some stages. Here's a snippet of the code:

package com.workday.bamboo.utilities;

import ...

public class
PlanDependencies {
public static Dependencies branchHotpatch() {
return new Dependencies()
new DependenciesConfiguration()
new PlanIdentifier(
public static
Plan createPlan(@NotNull final String headerPrefix,
@NotNull final String description,
@NotNull final Plans plan) {

return new Plan(
headerPrefix + ") " + plan.toString(),

Here, a snippet of YAML:

- key:
key: UCBH
oid: null
blockingStrategy: NONE
enabledForBranches: true
requireAllStagesPassing: true

And here's a screenshot of Bamboo UI after the plan created:

Screen Shot 2018-02-13 at 5.33.41 PM.png

Is there anything that I missed? Please advice.

1 answer

0 votes
rsperafico Atlassian Team Feb 14, 2018

Hello @Dean Nam,

Thank you for reaching out.

I have raised a ticket in our issue tracker reporting the above described and the same can be followed on

Kind regards,


Thanks for your quick follow up, @rsperafico.

rsperafico Atlassian Team Feb 15, 2018

Hello @Dean Nam,

You can make use of pluginConfigurations in the meantime:

.dependencies(new Dependencies().childPlans(new PlanIdentifier(projectKey, planKey)))
                .pluginConfigurations(new AllOtherPluginsConfiguration()
                        .configuration(new MapBuilder()
                            .put("custom.dependencies.triggerOnlyAfterAllStages", "true")


Kind regards,


hi @rsperafico,


I followed your workaround solution and it seems working now. Thanks for your help. 

Btw, it seems is marked as resolved as well. Should I upgrade our Bamboo to the latest version to have the bug fix?


Thank you!


rsperafico Atlassian Team Mar 08, 2018

Hello @Dean Nam,

Yes, you can once Bamboo v6.4.1 becomes available.

Kind regards,


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

304 views 0 7
Read article

Atlassian Community Events