Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Copy card with attachments and custom fields populated

Anthony June 1, 2023

When creating a new card on another board, I want all content including custom fields and attachments to populate - is this possible?

1 answer

0 votes
milynnus
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 1, 2023

@Anthony

CF definitions are unique to each board. The CF name may be the same on 2 boards but they are different custom fields. Unlikely other card variables the prefix trigger eg {triggercardname} cannot be used for custom field. The way around this is to use Trello API to gather the source/trigger card CF in {httpresponse} using the HTTP request. 

Anthony June 4, 2023

Thank you so much for your help... however I am not familiar with http requests and programming - can you give an example on what you would write and how to populate inside the automation wizard? Thank you in advance

milynnus
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 6, 2023

@Anthony 

This is an example of how I used http request to do what you wanted.

when a card is moved into list "Doing", create a new card with title "{triggercardname}" in list "{triggercardlistname}", and post to url "https://<instance url>/attachments/copy_attachment" with payload "{"card_id" : "{triggercardidlong}" , "alt_card_id" : "{newcardidlong}"}"

Anthony June 7, 2023

Sorry mate - I'm a bit of a novice when it comes to Http push/pull code. Where do I find my <instance URL>? Thanks in advance

milynnus
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 7, 2023

@Anthony 

The instance url refers to a microservice that I had developed. So you would not have it unless you have installed the app. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events