API REST: HOW CAN I GET ALL CUSTOM FIELD ID VALUE FOR ALL MY CARDS?

Rodrigo Esteban Morales
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 28, 2023

Hello, this is my first question here.

I need to get the customFieldItems for all my cards, but in a single query.

Currently I get it by card:

https://api.trello.com/1/cards/zzzzz/customFieldItems?key=xxxxx&token=xxxxxxxxxxxx

Please if anyone knows what api I can use or how I could obtain such information.

Greetings.

 

2 answers

0 votes
Rasmus Wulff Jensen
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 29, 2023

If you are after the values of the custom fields on the cards this should do it (all card on board with their custom fileds)

 

https://api.trello.com/1/boards/xxx/cards?key=kkk&token=ttt&customFieldItems=true
0 votes
Sal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 29, 2023

Hey @Rodrigo Esteban Morales! We usually recommend going to our Atlassian Developer community for Trello, but I'll do my best to help. Remember that our developer community would be the best option for more technical and advanced questions. 

You can use this API endpoint to get all the custom fields of your board instead of getting them one by one from your cards:

https://api.trello.com/1/boards/{id}/customFields?key=APIKey&token=APIToken

You can read more about it here: https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-customfields-get. I hope that answers your question. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events