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,294,584
Community Members
 
Community Events
165
Community Groups

JSON payload with card data on a card button

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

@Julie Larre-brusset 

It should be this

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

The {cardname} must be in quotes as above.

Yes, it works, thank you :) 

Suggest an answer

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

2,303 views 28 40
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