Create
cancel
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

Access Custom Field Variables of another Card in Butler

Edited

Is there a way to directly access custom field variables such as {{%this}} in Butler, but in conjunction with Find/Lookup? Some equivalent of {found{%this}}?? {{found%this}}???

2 answers

1 accepted

0 votes
Answer accepted
Mike Atlassian Team Jul 15, 2020

Not exactly—right now, Custom Fields variables like that {{%foo}} will only return the value of the current card Butler is looking at. For example, if you tell Butler to

 

That worked Brilliantly for me. thank you!

copy one custom field value into the same custom field on another board.
"when custom field "xxxx" is set, for each card linked in the attachments, set custom field "xxxx" to "{customfieldvalue}""

Not sure if this is anything like you're looking for, but I found a way to create a sum total off a custom field set in multiple cards in a certain list.

The use case is for invoicing, so I have one list called 'Line items' and one (empty) list called 'Total'. When a card is added to 'Total', Butler will rename the card to 'Total', link all the cards in 'Line items' and then for each linked card set the custom field 'Subtotal' to the value of 'Subtotal'. This doesn't change the value but it will cause another rule to trigger, because it triggers whenever the custom field 'Subtotal' is set. That rule then finds the card 'Total' and updates a custom field 'Total' with the value of 'Total' + {customfieldvalue}. So this only works with the first card in the list 'Total'.

Here are the two rules:

when a card is added to list "Total" by anyone, rename the card to "Total", collect all cards in list "Line items" into linked items in checklist "Line items", for each card linked from an item in checklist "Line items", set custom field "Subtotal" to "{{%Subtotal}}"
when custom field "Subtotal" is set by anyone, find a card titled "Total" in list "Total", and set custom field "Total" to "{{%Total}} + {customfieldvalue}"

 

I just added this extra action to the first rule:

find a card titled "Total" in list "Total", and remove the "Line items" checklist from the card

This removes the checklist that was created earlier, but maybe you like it if it stays with the card, so it's optional.

Suggest an answer

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

Taco Tuesday: Your favorite Trello blog takeaway

Hello friends! From the community that brought you Welcome Wednesday, Throwback Thursday and Friday Fun, welcome to Taco Tuesday, a weekly discussion about all things Trello. The best part? One Tac...

205 views 10 9
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