Forums

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

Copy label from attached card

Ricardo Boss May 13, 2020

I have a board which connects "contact" cards with multiple "service" cards. The contacts are grouped using labels.

Now I want to create a butler rule which automatically copies the grouping label from an attached contact card to the service card.

Is there a way to do this?

1 answer

1 vote
Iain Dooley
Community Champion
May 13, 2020

@Ricardo Boss are the service cards reused for multiple contact cards? If so the labels will build up ... however if not you can copy the labels at the time of linking and use a checklist to link to multiple service cards:

2020-05-13 at 11.33 pm.png

Ricardo Boss May 13, 2020

How would I use the checklist? The contact and service cards will need to share a specific set of labels.

Iain Dooley
Community Champion
May 13, 2020

@Ricardo Boss The checklist will have a link to each of the service cards, and when you convert the checklist items to linked cards, you can copy the labels from the customer card to the service card.

Ricardo Boss May 14, 2020

Unfortunately, the service cards are in different lists. The simplest solution would be to have a rule as follows: when a card with the custom field "category" set to "contact" is attached to a card without label "service1" and without label "service2", get all labels from attached card and add it to the card.

Iain Dooley
Community Champion
May 14, 2020

@Ricardo Boss hmm there's no looping through labels in the non-Bot Butler, but this Trellinator function would do that:

https://gist.github.com/iaindooley/7004c00e16228b213db6dfe1292d78e9

You can read more about Trellinator here:

https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Introducing-Trellinator-Automate-Trello-with-Google-Apps-Script/ba-p/925271

Ricardo Boss May 14, 2020

I was unable to set up Trellinator and it seems really overkill for this simple task. It's sad, but I can handle the labels manually. Thank you for your time!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events