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,364,527
Community Members
 
Community Events
168
Community Groups

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}""

Trello custom fields are just asinine, even more so in Butler. I want to lookup a card on the Contacts board to auto-fill contact info on new cards on my Orders board, and I managed to do it with a bunch of rules but it's slow and clunky. The ability to pass custom fields between cards is badly needed.

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.

@michaja_broertjes Wow! Brilliant. Thanks for the idea.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events