The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

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

Comments for this post are closed

Community moderators have prevented the ability to post new 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 Champions.
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)

TAGS
AUG Leaders

Atlassian Community Events