Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Can Butler create a link when a label is applied to the card?

We have a board tracking many bugs & features we are working on. We assign a version to the cards, so we know when they will be ready to publish to production. 

I would like a master card named "Features in vXXXX" (for example, "Features in v2.1.1") that contains a checklist with a link to each card in that version. For example. if I apply the green label "v2.1.1" to a card, I would like Butler to respond by adding a link to my card in a checklist residing the card that is named "Features in v2.1.1". 

Is that possible, or is something similar possible? 

I can obviously save a search for "v2.1.1" but I never get a list that way.

1 answer

1 accepted

0 votes
Answer accepted
Garrett Atlassian Team Mar 11, 2021

Hey Jim,

You should be able to set this up, provided the formatting of the label is consistent. You'll need to make use of some Variables as well, which will let that rule work a bit more dynamically:

The first step is to set your rule's trigger to "when any label is added to a card". Note that you can select a specific label instead, but that would mean you'd need to create a rule to cover each version/label.

The "any label" condition will trigger for any label, so if you have others that aren't a version number that are added, it might be more ideal to use a custom field instead. I'll assume for this example that labels are only used for the version.

Following the trigger, you'll want Butler to find the related card by name. In the Cascade section, you can use the "find card with name action" and you would enter Features in {labelname}.

That variable would return the name of the label, so if it was named "v2.1.1", Butler would look for a card named "Features in v2.1.1.".

So now, Butler has found the appropriate card.

From there, the last action would be to add the original card as a link in the checklist. To do so, a checklist would need to already exist on the card, and you'd use the "add item name to checklist name" action. For the name, you wouldn't use the actual card name, since you want a link. Instead you would use the {triggercardlink} variable, which would return the URL of the card which triggered your rule in the first place.

After that, you can save the rule and you'd be all set. Hopefully that helps you get that going!

Excellent, thx.  I had worked my way through to several of those steps but the variables will be a big help. I was doing it manually each time. 

Like Garrett likes this

Suggest an answer

Log in or Sign up to answer
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 @Kristjan Geir Mathiesen - Origo for sharing the picture of Taco having fun with his new friend...

473 views 19 19
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