A more logical way to implement the rule.
Asked by George Elizarov:

I have a project, it has a main board with production stages, there are also several "subordinate" boards, each of which displays the same processes in "departments" as on the main board.  
The project uses card mirroring via Power Up. The mirroring engine has a flaw that I found how to solve through Butler.  
But the solution is a bit like a "crutch" since for each sheet you need to write down your own personal rule - as it seems to me. I am looking for an answer to this question: is it possible to somehow generalize the rule for performing manipulations with several subordinate boards at the same time - to reduce the number of Butler's rules and errors in attempts to fulfill a rule, the conditions of which are naturally not met at some point?  

The rule for the "Factory" board looks like this:  
"when a card is moved into the list "Mechanical Assembly", lookup a card titled "{cardname}" on board "Warehouse", and move the card to the top of list "{listname}" on board "Mechanical Assembly Haifa""  

But as you can see from the rule, its condition covers only one sheet "Mechanical Assembly" on the "Factory" board, we know that the card is somewhere on the "Warehouse" board and one specific sheet "Mechanical Assembly" on the "Mechanical Assembly Haifa" board.  

But I want to understand: Is it possible to catch the movement of a card on any of the sheets on the main "Factory" board,  
NEXT, search through all the boards,  
find the second card by name,  
NEXT find a board whose name fully or partially matches the name of the sheet where the card was placed on the main board  
NEXT, having found a suitable board by name, find on it a sheet with the same name as on the main board  
and move our mirror card to this sheet? And all this is through Butler  

Thank you guys, for help!


Answers:
author: Alina Kurishko
body: Hi George,

Welcome to the Atlassian Community! ?

To achieve your goal, you'll indeed have to create separate rules for each action as a trigger.

We have this article about setting up a simple *one-way* sync using automation which can be helpful in your case: <https://support.atlassian.com/trello/docs/synchronizing-cards/>

Currently, it's not possible to create a rule to search for a card on all boards. I tried to test this flow using wildcards, but the rule didn't run successfully until I added a specific board title.

With that said, if you add a board title manually, you can create a rule similar to this one to move the card around your "duplicate" board in accordance with the original one:

```
when a card is moved into list "{*}", find a card titled "{cardname}" on board specific_board_title", and move the card to the top of list "{wildcard1}"
```

In the rule above, I used both wildcards and automation variables. You can learn more about them here:

* <https://support.atlassian.com/trello/docs/pattern-matching-and-wildcards/>
* <https://support.atlassian.com/trello/docs/butler-variables/>

Would you like to give it a go to see if it matches your workflow? ?

I'm also like to mention that we've already had similar requests for card mirroring functionality. Because of that, we have an existing suggestion tracking interest for this issue that can be found at <https://jira.atlassian.com/browse/TRELLO-110>.  
I have also added your request as an internal comment to this report so that way our engineering team can reference it and also use it to help align priority. I would also encourage you to visit that suggestion, log in with your Atlassian account, and click **Start watching this issue** on the right panel. That way, when the ticket is updated by our product team, you'll be notified via email.

Hope this information helps!

Alina \| The Trello Team


Tags: butler

rule

zzz