Deleting ALL Archived Items

Gary Liu August 27, 2020

Hi,

Is there a way to delete everything in the Archived Items?

Thank you,

2 answers

1 accepted

0 votes
Answer accepted
Iain Dooley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 27, 2020

@Gary Liu you need to do this with the API. This Trellinator function will do it:

https://gist.github.com/iaindooley/7fcd01ce72518496a4aa3fa1ad64ffce

You can run the function in BenkoBot here:

https://app.benkobot.com/

You'll just need to change the name of the board from "My Board" to whatever your board is -- beware that if you have two boards with the same name it'll just grab the first one it finds.

The default limit on the search function is 1000 cards so if you have more than 1000 cards you can either pass in a new limit or just run it a few times.

Gary Liu August 27, 2020

Hi,

Thanks for the response.

 

But how do I do that?

Iain Dooley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 27, 2020

@Gary Liu go here:

https://app.benkobot.com/

Authenticate with your api key/token

Copy this code:

https://gist.github.com/iaindooley/7fcd01ce72518496a4aa3fa1ad64ffce

Paste it into the textarea on the above page

Replace "My Board" with the name of your actual board

Click "run code"

Like Maria likes this
Gary Liu August 27, 2020

Genius!!!!!!!!!

Like Iain Dooley likes this
Maria June 21, 2022

Iain, good day,
Thank you so much for this - exactly what I was looking for!

If you have a moment, can you, please, let me know how I would need to adjust the code to include all the boards for this action? I am sorry if this is basic - I have never done a single thing with programming or codes. Running the above script today was my very first time ))))  Alternatively, maybe you can direct me to a document or a resource where I can find this information?

Thank you!

0 votes
Ollie Guan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 27, 2020

Hi @Gary Liu ,

Right now, it's not possible to bulk delete archived cards, so you'll need to do that one by one.

Here's an article that gives you more details about it.

https://help.trello.com/article/795-archiving-and-deleting-cards

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events