Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,338
Community Members
 
Community Events
176
Community Groups

How to sync attachments between cards with Butler

Edited
Brittany Joiner Community Leader Mar 06, 2022

I really only need a one-way sync, so I'm hoping Butler would work for this, but I'm trying to create a rule so that when an attachment is added to a card, Butler finds the first card linked, and adds the attachment to that linked card.

I got really close because I can find the attachment link and add that link as an attachment to the link card, but for things like images, this isn't seen as an image link so is therefore not reviewable and also not treated as a downloadable item from the File Manager Power-Up. 

Anyone know how to do this, aside from using Unito?

1 answer

1 vote
milynnus Rising Star Mar 06, 2022

@Brittany Joiner 

I wrote a simple program to support this requirement but I have not deployed it on my new trello services platform (https://github.com/xu2xulim/Superhero). I will see if I can get it deployed over the next few days.

My earlier sync custom power up does support attachments but I am not reactivating that project at this point.

Brittany Joiner Community Leader Mar 06, 2022

@milynnus that would be cool!! 

@Brittany Joiner 

Migrated over to the new platform. I did my own testing but you may want to test it. Note that it is not a sync but allows you to copy attachments from one card to another. Note that if you have many and or large attachment, the endpoint may time out. 

https://github.com/xu2xulim/Superhero/blob/master/Superhero%20on%20deta/Micros/Attachments.md

PS Note that the treatment of files by Trello remains unchanged.

Brittany Joiner Community Leader Mar 08, 2022

@milynnus do you have any docs on how to consume this? (Trying to figure out how to set it up and test it on my end.)

@Brittany Joiner 

The only documentation is on GitHub. Just started to to use it. I will work to improve my documentation. Essential that repository is just a collection of xxx,md filed to document each api. When it click on Code it will show more folders and file. The link is above.

This example is for a case where you create a new card and you want to bring the attachments over.

when custom field "CF_Checkbox" is checked in a card with a name containing "{* }OST{*}", create a new card with title "With {triggercardname}" in list "Up Next", post to url "https://moklxc.deta.dev/copy_attachments?api_key=14a2c........21d7&token=be9f2f1...............cb4" with payload "{"card_id" : "{triggercardidlong}", "alt_card_id" : "{newcardidlong}"}", and uncheck custom field "CF_Checkbox"

PS this project is only a few days old and if you encounter any issue do let me know.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events