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

Converting checklist items into cards and renaming the cards

Hi,

I'm trying to rename cards created from the following command (rules in Butler) :

when the "Task dispatch" item is checked in a checklist named "Checklist Projects" by me, remove all the incomplete items from checklist "Checklist add task", convert all the complete items in checklist "Checklist add task" into linked cards in list "Task to do", for each card linked from an item in checklist "Checklist add task", link the cards together

Basically, that works really well. It creates cards into another list that are linked to the checklist and also added as linked cards. Do not ask me why we need the double link....... ;)

If I add : using pattern "{triggercardname} {cardname}" in the action "convert all the complete items..." (convert all the complete items in checklist "Checklist add task" into linked cards in list "Task to do"using pattern "{triggercardname} {cardname}") that doesn't change the newly created cards' names but it changes the items' names. That's not what I want. As per post https://community.atlassian.com/t5/Trello-questions/I-m-trying-to-use-the-variable-sourcecardname-when-converting-a/qaq-p/1038608 it seems that it works for a single item converted. But when you use convert all, it doesn't.

I want the newly created cards to be renamed with the orignal name of the card followed by the name of the item :

Card X
List Y
Item 1
Item 2
Item 3

The cards should be named Card X Item 1, Card X Item 2, etc. Instead of that the items are renamed Card X Item 1,2,3, and therefore lose the link to the new card. I don't want the item to be renamed only the new cards!

Does someone have an explanation for this or a way to get around that and rename the cards ? I tried to rename the card when they get into the list "Task to do" but the {triggercardname} lose its value therefore renaming the card Item 1 Item 1. Also tried {sourcecardname} which does nothing.

Please help!!! Thanks!!!

1 answer

1 accepted

0 votes
Answer accepted

Found myself how to bypass the  "using pattern "{triggercardname} {cardname}" " that doesn't work at all.

Just added a little line at the end :

when the "Task dispatch" item is checked in a checklist named "Checklist Projects" by me, remove all the incomplete items from checklist "Checklist add task", convert all the complete items in checklist "Checklist add task" into linked cards in list "Task to do", for each card linked from an item in checklist "Checklist add task", link the cards together, and rename the card to "{triggercardname} {cardname}"

It now works flawlessly.

Garrett Atlassian Team Aug 02, 2019

Hey @Eric Bergevin 

You beat me to it, that was going to be my exact recommendation!

Currently the pattern in the link action doesn't rename those new cards, but adding in a "for each" step followed by the rename action works, as you've found!

Cheers!

Suggest an answer

Log in or Sign up to answer
TAGS
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,594 views 14 6
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