Hi! I configured a cardbutton in my board. This button do a POST to a url endpoint with a payload.
Follow the configuration:
post to url "https://myurl.com/cardbutton" with payload "{\"recipient\": \"{{%email (sep=';')}}\",\"cardname\": \"{cardname}\",\"shortlink\": \"{shortlink}\"}"
But when it gets to the server and a print the received data I get someting like this:
Received data: {'recipient': 'myemail@domain.com', 'cardname': 'cardname', 'shortlink': ''}
As you can see, the shortlink of the card is not comming and the custom field 'email (sep=;)' and the cardname are getting ok to the server.
I have already tryed {{%shortlink}}, {{%shortLink}}, {shortLink} all unsuccessfuly.
Any ideas?
Hi! Welcome to the community!
When you're passing {shortlink}, are you trying to get the card URL? If so, could you try passing {cardlink} instead?
Trello has a list of variables you can use for automation and API purposes, I think these might be handy to you: https://support.atlassian.com/trello/docs/automation-variables/
Let me know if that works!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.