Keep things short:
This call: https://api.trello.com/1/boards/<id>/cards/?fields=all&customFieldItems=true
(Of cause with key
/token
)
Will return all cards with each having a property "customFieldItems": []
, but the value only contains data if the cards custom field items has set values.
So how can I get all customFieldItems which are configured for a specific board?
Custom Fields are defined against the board, so you need to query the Boards endpoint, e.g.:
This will return an array of JSON objects that correspond to each Custom Field you have defined (not just the ones that are set on a particular card), e.g.:
See: https://developers.trello.com/v1.0/reference#boardsidcustomfields