It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I get attachments/files to attach to the original linked card?

I have figured out how to mirror cards between boards. 

We have client workflow boards which have mirrored cards on our staff workflow board. The staff then upload their final document to their own board and move it to complete. 

I can get the original card in the clients workflow board to mirror that and move into Complete.

What I can't figure out is how to get file attachments in the staff workflow card to show up in the original client card. 

Please help!!!! 


1 answer

1 vote
Iain Dooley Community Leader Mar 12, 2020

@Pia Holding you can do this with the following butler command:

when an attachment is added to a card, find the first card linked in the attachments, and add link "{attachmentlink}"

However, because Butler allows itself to trigger commands, this command means that when you create a card link it's always reciprocal and when you attach the file it "loops" twice, I think Butler cuts it off at that point because it detects the loop.

If you wanted to stop that from happening, you'd have to do something like initially copy the card with a label added to it like "Unlinked" which you then remove when you initially run the command, and then filter it so that you only process it when the linked card has the "Unlinked" label on it.

There might be a better way, not sure off hand ... 

This Trellinator command would do the same thing but would only process the link when Trellinator itself hadn't taken the action:

You'll notice that it attaches the file to the linked card *as a link* not as a file -- although the API seems to suggest you can do a file upload I've never been able to make it work. so the file will still be downloadable but it will look a bit different on the linked card because it will show up as a link to the file in S3.

I have done this for a couple of clients where, instead of just attaching the link, I first download the file to Google Drive, then link to the drive file on the linked card instead.

You can read more about Trellinator here:

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Trello

Develop a new Habit during Lockdown

If you had to thrive a new habit during a lockdown, what would it be? Trello

1,499 views 12 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you