Trello Butler Rules - Wildcards Question
Asked by Marc Darryl Beaniza:

Hi!

I have 3 boards (named Board 1, Board 2, Board 3) I'm trying to sync to a "To Do List" board. Each board has a list named "{name of board here} - To Dos" (the same list name is also on the To Do List board). My wildcards don't seem to work. I'm trying to:

1. Every time a card is added to a board under the "{name of board here} - To Dos", it's copied to board To Do List under the same list name it came from
2. Any changes in either card (either in its own board or on the To Do List) will reflect on the other card (using CardSync)

I tried "{\*} - To Dos" , "{listname} - To Dos" , "{boardname} - To Dos" but none of them seem to work. What did I do wrong?

Here's the rule I tried (that isn't working). Hope anyone can help me out!

![123.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/80644i0F7D85F2634A0504/image-size/large?v=v2&px=999 "123.PNG")


Answers:
author: Ludo
body: hi,

You can try to do it by using 2 rules :

```
when a card is added to list "todo", lookup a card titled "{boardname}" on board "technicalboard", and set custom field "MyField" to "{foundcarddescription}"
```

```
when custom field "MyField" is set to "{*}-{*}", copy the card to the top of list "todo" on board "{wildcard1}", copy the card to the top of list "todo" on board "{wildcard2}", and clear custom field "MyField"
```

++First++

Create a technical board which contains 3 parameter cards

titled : board1, description : board2-board3 (be careful concerning the pattern)

titled : board2, description : board1-board3

titled : board3, description : board1-board2

++The 1st rule++ allow to collect boardnames to update regarding where a card is added (board1, board2 or board3) from carddescription in the technical board.

++The 2nd rule++ allow for each board to update (determinated from custom field and specific pattern) , the card is copied in the list "todo".

<https://help.trello.com/article/1156-pattern-matching-and-wildcards>

comments: author: Marc Darryl Beaniza
body: Hi, thank you very much for the help! Sorry, I'm not too technical with conditions yet and do I need to add the quotation marks when I'm typing the fields? Do I need to define/make a MyField per card for this to work? I can't seem to get this to work so I'm pretty sure I'm just doing it wrong.

Really sorry but can you help me out?

To visualize it better, I'm making 4 boards:

* Board 1 is named "YMCA" , it has a list named "YMCA - To Dos" and has other lists
* Board 2 is named "GL", it has a list named "GL - To Dos" and has other lists
* Board 3 is named "Nido" , it has a list named "Nido - To Dos" and has other lists
* Board 4 is named "To Do List", it has 3 lists "YMCA - To Dos", "GL - To Dos" and "Nido - To Dos"

So if I make/update a card in board "GL" in the list "GL - To Dos", it'll copy/update the card in board "To Do List" under "GL - To Dos". And hoping to make it copy/update as well if I update the card directly from the "To Do List".

I'd really appreciate some more help. I'm still learning these Trello conditions :)


author: Ludo
body: If you use the rules without modification, in your case you will create new lists in each board titled todo.

If not necessary, I recommand you not to include a board name in a list name. It will complicate the rules building uselessly.

But, if you want absolutely conserv the boardname in the list for the first rule

```
when a card is added to list "{boardname} - To Dos", lookup a card titled "{boardname}" on board "technicalboard", and set custom field "MyField" to "{foundcarddescription}"

```

```
when custom field "MyField" is set to "{*}-{*}", copy the card to the top of list "{wildcard1} - To Dos" on board "{wildcard1}", copy the card to the top of list "{wildcard2} - To Dos" on board "{wildcard2}", and clear custom field "MyField"
```


author: Ludo
body: * A quotation mark " is automatically generate by butler.
* A braquet { must be typied by you, it concerns all trello variables value.
* A custom field must be create in each board with power up custom field in one card. Then it will automatically deploy for all other cards in the board.


Tags: butler

search

wildcard