I am trying to make an automation for our board, but custom fields are not searchable and the
{{%fieldname}}=value also doesnt work (e.g. when going to https://trello.com/search?q={{%fieldname}}=value
Can there be an easy way in the api to serach/filter such cards.
The only other solution is to search for all cards on the board/list where you expect the card to be and go through each card to find the one you are looking for.
idealy custom_fields would be a parameter for /search
The API calls https://developer.atlassian.com/cloud/trello/rest/api-group-search/ needed now are
GET /1/boards/{id}/customFields/
get the id for the name of the custom field (once)
GET /1/search
search the card on the list/board
GET /1/cards/{id}/customFieldItems
Go through each card you found with search and get the custom field value to compare to the one you are looking for
Hey @leotulipan - welcome to the Community!
Sorry to deflect you, but I reckon you would find an answer to this question over in our Developer Community, which can be found at https://community.developer.atlassian.com/c/trello/42
I created a new topic over there: https://community.developer.atlassian.com/t/custom-fields-search-filter-via-api/66028
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.