{checklistitemname} variable in Butler
Asked by Santiago:

I am doing my best to copy a Checklist Item from one card, to another when it is crossed out; however, it appears that Butler doesn't allow you to copy to another card:

<https://www.screencast.com/t/MbtZJDlrSR1D>

Butler will only copy the checklist on a different checklist on the same card. Is there a work-around where I can get Butler to copy {checklistitemname} to a different checklist located on a different card? Here is the scenario:

MOVE ITEM A FROM

CARD A \> CHECKLIST A

TO

CARD B \> CHECKLIST B


Answers:
author: Hannah Humbert - Simpla Workflows
body: Hi [@Santiago](/t5/user/viewprofilepage/user-id/2621410) ! You may need to add some sort of [lookup](https://help.trello.com/article/1193-butler-card-lookups) function to your rule so Butler knows what card needs to be affected. Is there any sort of pattern in regards to the card that should receive the checklist item? For example, if the origin card and destination card share the same name, the rule could look something like this:  

![Butler lookup card.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/173723iBFC8EACA9C37AC85/image-dimensions/454x327?v=v2 "Butler lookup card.PNG")  

If they origin and destination cards aren't named the same, you'll need to find another way to relate the cards together. For example, linking them together by simply pasting the destination card URL into the origin card. Or, you could have the destination card be a specific card i.e. any checklist item that's completed on any card copies to a card called "Master Report".

comments: author: Santiago
body: Thank you so much for your help [@Hannah Humbert - Simpla Workflows](/t5/user/viewprofilepage/user-id/2109993)

My cards unfortunately do not share the same name:

<https://www.screencast.com/t/6GiXC9nHDl>

However, I do have the URL of the Destination Card pasted within the Origin Card (and vice-versa):

<https://www.screencast.com/t/zqclCf1rriV>

I'm not 100% sure if Trello considers these cards "linked" since I added their respective URL's within each. I did this to serve as a shortcut to navigate between the two.

But my question is, now that they're supposedly linked, what would the Butler Automation Rule look like?


author: Santiago
body: [@Hannah Humbert - Simpla Workflows](/t5/user/viewprofilepage/user-id/2109993) Actually, your original formula worked with a bit of modification!

![2021-12-13_16-06-07.png](https://community.atlassian.com/t5/image/serverpage/image-id/173753iF597F673762C06DF/image-size/large?v=v2&px=999 "2021-12-13_16-06-07.png")

But I didn't account for one thing. The Checklist Item that was copied isn't linked to the original card (as the original checklist item is):

![2021-12-13_16-10-18.png](https://community.atlassian.com/t5/image/serverpage/image-id/173754i409F5D4C57C3F70F/image-size/large?v=v2&px=999 "2021-12-13_16-10-18.png")

What butler automation can I use to copy over the entire "\[\*\*O\*\*\](O)" formula, and not just the text? Any ideas?

Thanks in advance!


author: Hannah Humbert - Simpla Workflows
body: Hi Santiago - so just to make sure I understand, the original checklist items are linked items? The checklist name would then be something like <https://trello.com/c/xxxxxx>. The butler rule would then copy over the name of the item (as in the URL) into the destination card.   

This is how it looks when I test it out using the linked cards lookup function:  

![Butler copy linked checkitems.gif](https://community.atlassian.com/t5/image/serverpage/image-id/173774iCB20031933F0D9DF/image-size/large?v=v2&px=999 "Butler copy linked checkitems.gif")  

Does that look the same for you/is that what you want?


Tags: automation

butler

checklist

variable