It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I create a trigger with conditional logic (AND/OR)? Edited

I would like to create a rule with a trigger like this:

when a card with the "blue label" with the "{black || sky || lime || pink} label" is added to the board...

Or, in more descriptive psuedocode:

When a card with the blue label that also has the black OR sky OR lime OR pink label is added to the board...

It's not super clear but seems like this should be possible given this description from the Butler maintainers:

In conditions that match the name or description of a card, or the name of a list or label, you can use a "wildcard" (or more than one) to match variable text...

Taken from here:

1 answer

1 accepted

1 vote
Answer accepted
Iain Dooley Community Leader Mar 21, 2019

@Che Fisher I think this would have been possible with Butler Bot, but I can't see anywhere in the power up that you can do if/else or match/against operations.

I think what you'd have to do with the power up is create multiple rules, one for card with blue and black, one for cards with blue and sky, one for cards with blue and link, one for cards with blue and pink.

Here's the code that would do it in Trellinator:

You can see how to install Trellinator here:

Thanks, will certainly look into Trellinator a bit later when I have time. Am just in the middle of writing a custom Google Sheets function to help with our OKR alignment actually - not my first foray into the strange world of Google Scripts. Cheers! 

Suggest an answer

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

Develop a new Habit during Lockdown

If you had to thrive a new habit during a lockdown, what would it be? Trello

1,499 views 12 4
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you