Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

JSON payload with card data on a card button

Julie Larre-Brusset July 29, 2021

Hello,

I need help with one of my card buttons.

I want to send a JSON payload with my card name (with "content" --> "post to URL" action), my JSON payload is :

{"name":{cardname},"board":"1GjwRhhy"} 

BUT, the payload received does not replace the {cardname} by the name of the Trello card... and keeps {cardname}, the JSON is, therefore, invalid...

How can I pass card values in a JSON payload send with a card button?

 

Thanks for your help

1 answer

1 accepted

3 votes
Answer accepted
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.
July 29, 2021

@Julie Larre-brusset 

It should be this

{"name": "{cardname}" ,"board":"1GjwRhhy"}

The {cardname} must be in quotes as above.

Julie Larre-Brusset July 30, 2021

Yes, it works, thank you :) 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events