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

Using Butler to assign a card based on multiple criteria

I would like a butler statement that works similar to:

when the name of a card in list "New Requests" contains "(AAAAAAAA)" or "(BBBBBBB)", add member @JohnDoe to the card

I can add one 'contains', but how do I do multiple when editing the rule?  Neither below seems to work.







2 answers

2 votes
Iain Dooley Community Leader Sep 08, 2020

@Mike there's an undocumented regex modifier in Butler that you can use:

when the name of a card contains "regex:/.*(AAA|BBB).*/", post comment "got {wildcard1}"

in your case you change that 'post comment' to add member, but I wanted to demonstrate that the regex wildcards are available as variables also.

I saw this tidbit posted here about a year ago:

@Mike  deleted @Iain Dooley definitely has a better solution. 

Suggest an answer

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

A Trello template to help you clean up your Confluence Space

Calling all Trello + Confluence users! We're celebrating all things Work and Wellness in our Confluence collection, where our team has been sharing activities to create more mindfulness around the ...

946 views 4 13
Read article

Atlassian Community Events