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.
"(AAAAAAAA)","(BBBBBBB)"
(AAAAAAAA) or (BBBBBBB)
(AAAAAAAA),(BBBBBBB)
(AAAAAAAA), (BBBBBBB)
"(AAAAAAAA)" or "(BBBBBBB)"
"(AAAAAAAA)", "(BBBBBBB)"
Community moderators have prevented the ability to post new answers.
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.