Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to write a Butler rule that recognizes multiple words or phrases

Lucy Hollister March 5, 2021 edited

Hi there, I am hoping to write a Butler rule where the trigger "when the description of a card contains..." contains two phrases, not just one. Is there to make add an AND function so that Butler knows how to recognize when a card's description contains two specific phrases instead of interpreting it as one long phrase?

2 answers

1 vote
milynnus
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.
March 5, 2021

@Lucy Hollister 

Not sure it will work because Butler does not restrict you only one “contain” in qualifying the action. Try it. Let us know. 

0 votes
Iain Dooley
Community Champion
March 16, 2021

@Lucy Hollister as @milynnus mentioned you can add multiple filter conditions and these should "and" together, you can also use regular expressions like this:

"regex:/.*(one|two|three).*/"

for an OR condition (or any other regular expression pattern match)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events