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,295,587
Community Members
 
Community Events
165
Community Groups

Is it possible to Butler create a card with a custom field?

My automation is:

When a card is moved to Done
Create a new card with Title "MY NEW TITLE {{%customfieldvalue}} in list ToDo.

It works, but the new card don't have a custom field with any value, like the original card have.
I tryed to create a new action to set a custom field with the {{%customfieldvalue}}, but at this time the {{%customfieldvalue}} is empty. I think that is because the action ("create a new card") executed before created a card with an empty custom field.

I would like to create a new card with the same value of the custom field of the card that is moved to Done list.

Screen Shot 2022-03-27 at 20.27.37.png

Where is the custom fiel options?

1 answer

1 accepted

1 vote
Answer accepted

@ricardo_baltazar 

I think you should be using {{%CF_Name}} 

when a card with a name starting with "New video filmed:" is moved into list "Done 🎉", create a new card with title "Preparar projeto e Sources: {{%FilmTitle}}" in list "To Do", and set custom field "FilmTitle" to "{{%CF_FilmTitle}}"

The log:

Running command on board XPTO.
I created card link_to_card in list "To Do".
I cleared custom field "FilmTitle" in card link_to_card.
The command finished running.
Total operations: 2

The second operation just cleared the custom field

@ricardo_baltazar 

without trying the code in Trello, your challenge will be in trying to set the CF on the new card with the custom field from the trigger card. For this reason, I have this created

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

when a card with a name starting with "Original cartd:" is moved into list "Done 🎉", post to url "https://jviwoq.deta.dev/get_customfields?api_key=44...&token=2f92..." with payload "{\"card_id\" : \"{cardidlong}\"}", create a new card with title "Created: {httpresponse.FilmTitle}" in list "To Do", and set custom field "FilmTitle" to "{httpresponse.FilmTitle}"
Ty man!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Trello

Taco Tuesday: New years' resolutions with Trello

Congratulations to @Laura Holton , our latest winner of Taco Tuesday! And thanks to @Kristján Geir Mathiesen for sharing the picture of Taco having fun with his new friend  B...

2,315 views 28 40
Join discussion

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