15

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.

18

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

  • Comments are comments and you gave an answer – Black Mamba Jun 19 '18 at 11:51
2

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.

1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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