Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,597
Community Members
 
Community Events
165
Community Groups

Search a card in trello by custom field

Edited

Hi,

I am integrating trello API and i am stuck in search API. Is there any way to search any particular card by the custom field, as i understand /search API allow to filter cards only on cards fields not custom field.

Also, is there any way to find recently modified records where i can find which are updated today or recently by passing the start time?

 

2 answers

0 votes
Laura Holton Community Leader May 25, 2022

Hi @Bodhi 👋

Welcome to the Community! To help, I would recommend taking a look at this support article on How to Filter Trello Cards by Custom Field - hopefully that may be able to shed some light. 

I hope this helps but if you have any other questions just ask away 😃

All the best,

Laura

@Laura Holton I believe what you mentioned is UI process, what I am looking is to filter by Trello API. 

@Bodhi 

Well if that is what the api says then I like you just have to do some coding like using list comprehension ....see example to get call cards where Task Status == 'Completed'

[card for card in board.open_cards() if card.get_custom_field_by_name('Task Status').value == 'Completed']

Yes, I cheated.

This same process can be done with gather cards in Cascade.

@milynnus I am looking directy to use trello  API. BTW can you mentioned in what langauage you have wrote that query or use any trello library?

@Bodhi 

Check out py-trello

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Trello

Taco Tuesday: New years' resolutions with Trello

Congratulations to @Laura Holton , our latest winner of Taco Tuesday! And thanks to @Kristján Geir Mathiesen for sharing the picture of Taco having fun with his new friend  B...

2,361 views 28 40
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you