Forums

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

Copy map location address to a custom field

Hannah Humbert April 21, 2025

Is there a way to take the address entered into the default location field and populate a custom field with that address? I can see there is no variable for this so it seems like I can't achieve this using butler automation.

For context, I'm wanting to use the address for other integrations/automations e.g. changing the card title to the address when it's copied to another board, or pre-populating a jotform with the address.

1 answer

0 votes
milynnus
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 22, 2025

@Hannah Humbert 

You are correct. You will have to use Trello API via a http request

Hannah Humbert April 22, 2025

Thank you for your reply. Do you know if it's possible to achieve this using Butler? I tried the following:

 

put to URL:
https://api.trello.com/1/cards/{cardid}/customField/680766d760c2f606fd47a8d3/item?key={api_key}&token={token}" with payload "{\"value\":{\"text\":\"{{cardlocation}}"}}
But getting a null response. Maybe {{cardlocation}} is the wrong variable? 

P.s. I am not a dev, so this is a bit over my head.
milynnus
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 22, 2025
Hannah Humbert April 22, 2025

I can see "locationName" but it doesn't seem to work. This is what I'm inputting into the payload: 

{"value":{"text":"{{locationName}}"}}

I'm using a card button to trigger the action, and it's not throwing any errors when triggering the button; it says it has run successfully, but it's not returning anything in the custom field. If I hard code it to {"value":{"text":"Test Location"}} that works fine, so I know it's the variable that's not working.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events