Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I'd like to find all the Archived cards from a given list. I'm fine with using the web site or using the Trello API.

share|improve this question
add comment

3 Answers 3

This may not currently be possible. Note the limitation here:

http://help.trello.com/customer/portal/articles/1145462-searching-for-cards-all-boards-

"Trello search currently only searches cards and names of boards. It does not currently search checklist items or list names."

You can easily search for archived by just adding 'is:archived' to the search.

share|improve this answer
add comment

I realize this is an old question but I could not comment on the top answer due to shortage of reputation.

Currently it is possible—see http://help.trello.com/customer/portal/articles/1145462-searching-for-cards-all-boards- for more information. Trello searches across boards so it will find all the archived cards in all the lists with the specified name.

Enter this in the search box: is:archived list:Done

share|improve this answer
add comment

It's possible using the API. See here:

https://trello.com/docs/api/list/index.html

For example, from the Trello dev board:

curl https://api.trello.com/1/lists/4d5ea62fd76aa1136000001d?cards=closed&card_fields=name

(Check out HTTPie for a nicer experience)

To get the id of the list, either use the API or do it the poor man's way: entering something like this in the JS console with the relevant board open:

_.map(ModelCache._cache.List, function(value, key) { return {id: key, name: value.get('name')}; })[0]

That only works because the Trello Dev board is public. To get data from a private board, follow the instructions here:

https://trello.com/docs/gettingstarted/index.html

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.