![]() ![]() I just wanted to know, this is the only way I can finish my requirement or is there other way/any direct Trello Rest API to accomplish my task.Īny suggestions/solutions more than welcome. You can see all of the custom fields that belong to a board by including customFields as a URL parameter when querying the boards resource: 1 2. If I union API 1 and API 2 responses, then it gives all Trello cards which are having XYZ either in card name or in card description. :"XYZ"&partial=true&modelTypes=cards&board_fields=name&card_fields=name&list_fields=name&cards_limit=90&card_board=true&card_list=true&token=AccessToken&key=AppKey :"XYZ"&partial=true&modelTypes=cards&board_fields=name&card_fields=name&list_fields=name&cards_limit=90&card_board=true&card_list=true&token=AccessToken&key=AppKeyĪPI 2: This fetches all Trello cards that contains XYZ in their card name. After I have gone through the documentation I constructed below API calls to filter Trello cards.ĪPI 1: This fetches all Trello cards that contains XYZ in their card description. 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. ![]() I found this Trello Rest API Search Documentation to search Trello cards. Can there be an easy way in the api to serach/filter such cards. You can view additional card details (such as card. Last created cards will appear first in the search results. You need to go to Board Menu>Filter Cards and here is a search bar that will work on custom fields. But the filter needs to be applied in a very specific place and not the default search bar of board. When Trello says you can filter on custom fields, they are right. Just type in the search box at the very top of the page. Found the solution and a small bug in implementation. Trello gives you the ability to search for cards and boards wherever you’re working. I have a requirement where user gives some text and I want to fetch all Trello cards which are having user entered text either in card name or card description. If you're looking to search for cards on a single board, try filtering cards on a board. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |