Hello, I’m trying to get the selected value of a dropdown custom field on a card.
I can get the list of the options, but cannot manage te get the selected value
i have tried https://api.trello.com/1/cards/{idcard}/customField/{idcustomfield}/item?&key={key]&token={token}
but this is not working
Hello @anon7079665
You don’t retrieve the values that have been selected for custom fields per card that way. You do it by sending a GET request to the Get a Card endpoint and including the customFieldItems=true
parameter in the request, like this:
GET
https://api.trello.com/1/cards/{idcard}?customFieldItems=true&key={key]&token={token}
In the JSON response, you will see all the values that have been selected for all the custom fields for that card.