stopping a bamboo job when a logic fails

Hector Magnanao January 20, 2022


Is there a way to completely exit a bamboo plan nicely when a condition is not met ? like when it can't find certain value ?  For example, I don't want the rest of the tasks executed when a variable does not exists.



1 answer

1 vote
Daniel Ebers
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 22, 2022

Hi @Hector Magnanao

probably the conditional tasks in Bamboo are what you are looking for.
Please check if this is suitable for your use case:


Hector Magnanao January 27, 2022

Hi @Daniel Ebers 

Thanks for your response.  The conditional tasks will only work for bamboo variables.  I want to be able to pass a variable to the conditional tasks that is created dynamically within one of the tasks.  For example,

bamboo variable is var1 = true

I want this var1 to be available to be overwritten thru one of my tasks and then i can use conditional task to check for the value.  Is this possible ?

Marcin Gardias
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 22, 2022

I think Inject Variable Task (which is bundled) might do the trick

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events