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

Trello API and retrieving list-type values for a card

Toby Crawley December 3, 2019

Howdy!

We use a few custom fields on our cards, but I'm having difficulty retrieving them all via the API. I'm using the /cards/{id}/customFieldItems API to retrieve the items, but that response doesn't include items for any dropdown (list) fields. I've tested with a card that has one field of each type (checked, date, list, number, text) each with a value, and I get a value in the response for every field except the list field.

Is this a known issue? Is there some other way to get values for list fields?

- Toby

1 answer

1 accepted

0 votes
Answer accepted
Toby Crawley December 3, 2019

Ah, I see the problem. List field values *aren't* returned as strings. Instead, you have to use the idValue to look up the text of the option from the field definition.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events