Link 2 cards and Move them
Asked by David Lafko:

I know how to link two cards together but now that they are linked is there anyway to get them to move from one list or board to another together rather than having to move each card individually?


Answers:
author: Iain Dooley
body: [@David Lafko](/t5/user/viewprofilepage/user-id/4587239) You could create an API automation such that whenever one card is moved to a new list, any card linked in the attachments is moved to the same list.

Is that really what you want though? Are the cards in the same list to begin with?

comments: author: David Lafko
body: That sounds perfect. So yes i have multiple lists that my cards move along to as people go through the hire/onboarding process. When i link 2 cards together it is because of the way a posting is created that cause another card to be created.

the cards will always move together on one board but then on another might split apart.

Could you tell me how to creat this automation. I use a free account.

Thanks


author: Iain Dooley
body: [@David Lafko](/t5/user/viewprofilepage/user-id/4587239) well, if you're linking the cards together and moving them at the same time, and the reason they're separated in the first place is because of how they're arriving in the board (presumably from some other service) why not just archive the card when you link it? That way you have one card that has a bunch of linked cards, and you only need to move one.


author: David Lafko
body: Because of our process i need to keep those details on that card and in the event further down the line they need to be unlinked i have all the info on the right card.

I think your plan of making the API will work just need to know how to do it.


author: Iain Dooley
body: [@David Lafko](/t5/user/viewprofilepage/user-id/4587239) Okay well this BenkoBot listener would do it:

<https://gist.github.com/iaindooley/60f403c427b76eca139bffeae78e38b8>

You can preview and install that code in BenkoBot by clicking the link below -- you will need to enter your API details first, you will want to create a "bot" Trello account first and login as that user, the best way todo that is to add an account in Trello's account switcher:

[Click here to preview the code before installing](https://app.benkobot.com/addlistener?functionName=moveLinkedCards&code=MTYzMzgzMzM1MzM5Mg==)

BenkoBot is a "low code" platform but not a "no code" platform, you can read more about it here:

<http://www.benkobot.com/>

The above code will just move any linked cards to the same list you move a card to, but if you need other functionality or tweaks we can do an intro to our team of vetted developers.


author: Vuong Ha
body: T?i bi?t c?ch li?n k?t 2 th? t? 2 b?ng kh?c nhau, l?m th? n?o t?i c? th? l?y li?n k?t ?? v? di chuy?n th? ?? c?m ?n

```
T?i mu?n l?nh c?a m?nh: 
khi m?c "S? d? cu?i c?ng TT" ???c ki?m tra trong danh s?ch ki?m tra c? t?n "Checkout", h?y ??c th? ???c li?n k?t v? chuy?n n? sang th? "xxx"
```


author: Laura Holton _ACE Rotterdam_
body: Hi [@David Lafko](/t5/user/viewprofilepage/user-id/4587239) ?

Welcome to the Community! Unfortunately, although the cards are linked together you will need to move them separately on to the boards/lists you want to see them appear in.

I hope this helps but if you have any other questions just shout ?

All the best,

Laura

comments: author: Vuong Ha
body: [@Laura Holton _ACE Rotterdam_](/t5/user/viewprofilepage/user-id/2568325)

T?i bi?t c?ch li?n k?t 2 th? t? 2 b?ng kh?c nhau, l?m th? n?o t?i c? th? l?y li?n k?t ?? v? di chuy?n th? ?? c?m ?n

```
T?i mu?n l?nh c?a m?nh: 
khi m?c "S? d? cu?i c?ng TT" ???c ki?m tra trong danh s?ch ki?m tra c? t?n "Checkout", h?y ??c th? ???c li?n k?t v? chuy?n n? sang th? "xxx"
```