Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can i delete all archived cards?

Hi,

How can i delete all archived cards?

Thanks,

Bilgehan

12 answers

I second the calls here for a way to delete directly. Exactly as previous commenters have said, having to archive then delete is extra clicks, and the archived items just clutter up search results. The ability to delete directly/easily would be a big improvement.

This seriously needs to be a function they add!

I second the calls here for bulk deletion.

This seriously needs to be a function they add!

Being able to bulk delete cards is a basic matter of privacy. I want to be able to do this with my data. It should be an option offered by trello

I also agree that you should be able to bulk delete for matters of privacy and general housekeeping.

For those familiar with Docker, I've made a small routine for bulk deletion of trello archived cards: https://github.com/selimrbd/delete-trello-archives. It takes some time to completely delete all cards if you have several thousands of them (~ 600 deletions / minute).

3 votes

I would also like to have this option available in the App and/or on the website. I know that this comment might actually give Trello/Atlassian an excuse not to implement this feature at all, but in case you still want to remove your Archived cards, I've created a small program that uses the Trello API to iterate over all your boards and delete all archived cards. Don't blame me if it doesn't do what you want, YMMV, etc.

For the brave, see https://github.com/hartogjr/trello_api_client 

Works for those with full access to Linux machines and dev chops (which I have), but it's not a feature -- it's an applet. :) I'll check it out!

I understand Trello developers not wanting people to harm themselves by directly deleting cards - make them archive cards instead, and delete them one-by-one afterwards, if absolutely necessary.  Most people think they want a "delete immediate" feature, until they delete something important and can never get it back. The principle of archiving first & deleting later is a very very good idea. Most email systems do this, when you "delete" an email it just goes into a Trash or Recycle folder (which often expires old items after some amount of time, and gives the user a "empty trash" button of some sort for manual cleaning).

I have a task-list board which has had so many cards pass thru it over the last few years, it's pretty large when I back it up (by saving the JSON data for the board to my laptop).  And I know that I will never want to retrieve any of those archived cards, yet they stay associated with the board as part of its data.

Maybe a compromise can be found, such as a single button under board settings, "clear old archive", which would delete any archived cards older than like 1 year old.  And it would need an "are you sure?" prompt, so people can't delete things unexpectedly.  That would help me a lot.

I guess I could create a fresh task-list board, copy all my lists from old board to new board, delete the old board, and rename the new board to the old board's name.  I could just schedule myself to do that once a year ("spring cleaning"). Maybe I'll do that.

The thing is that products like Trello are used by people with many different use cases. I get what you write, Paul, and everything sounds sensible. Then put yourself into my shoes: I wrote a script against the Trello API to bulk import cards from another source. In the script I made a mistake which resulted in the description field to be wrong. So, I found myself having to delete 200 cards... And, yes, there are API endpoints to close (archive) and delete cards, but I guess you understand why I didn't necessarily want to write a custom script to delete cards.

Holy crap! Nobody was even asking for a "delete immediately" function. Nor was anyone advocating for the removal of the 'archive then delete' functionality. We are just asking for a way to do a bulk delete on cards that have already been archived (moved to recycle bin/trash) - exactly like email and OS platforms. There should be some way to select multiple cards for deletion once they have been archived (even if that can only be achieved by having a bulk select option, followed by a delete option). I don't really care about those that are careless enough to not only delete the card the first time, but then a second time too (even after an "Are you sure?" prompt). That method provides three times for a user to make sure they truly want to delete the card/file/etc. Although I have accidentally deleted files into the recycle bin and/or trash, by mistake, many times; I have NEVER completely deleted a file from my system by mistake. Why should the rest of us have to suffer from decreased efficiency and productivity just because some people are careless enough to "accidentally" delete a file 3 different times! Sheesh!!

I also second the option to have the following features:

- card action that allows immediate DELETE (with warning) instead of archive

- bulk action to delete all archived cards at once

Reason: I use the JSON export to work with my data (primarily to just print a single card list using http://connie-clark.github.io/print-trello/) BUT the page takes a very very very long time to load because the JSON is including ALL data including all archived cards (JSON file is about 20x larger than it needs to be)

For those familiar with Docker, I've made a small routine for bulk deletion of trello archived cards: https://github.com/selimrbd/delete-trello-archives. It takes some time to completely delete all cards if you have several thousands of them (~ 600 deletions / minute).

Hello Trello? Are you listening? There are A LOT of us that are clamoring for better delete options for OUR data (chiefly bulk deleting functionality). Please don't be evil and give us this functionality!

0 votes

Hi Bilgehan,

Marta here, from Trello Support.

Right now, it's possible to delete cards by accessing the archive, which you can find on your board's menu, and deleting them from there. 

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 from our help docs that gives you more details about it: http://help.trello.com/article/795-archiving-and-deleting-cards

I hope that helps!

Marta

Are there any plans for bulk-delete? Furthermore, if there was a way to delete cards and lists directly rather than having to archive them first. Maybe it's just me but I've never needed to revisit an archived task, but then again I'm a private single user, and usage patterns may vary when Trello is used as a collaborative tool. Still, those of use who use Trello as a to-do list would welcome a direct way to delete. For us, having to archive, then delete, is an unnecessary extra step. Like the Chinese say, it's like "taking off one's trousers to fart". I'd say make both options, "Archive" and "Delete" directly available, and let users decide what they wish to do. Thanks for an awesome app!

Like # people like this

+1

I don't understand why bulk delete (either in-app or api) is so restricted.. it's almost as if you want to retain the cards for your own use...

Deleting cards is currently a multi-click process with modal pop ups - this isn't a 2018 way of doing things - why can't i just swipe left to delete them from the archive in iOS??

Like # people like this

PLEASE add this feature. achived cards are shown in search result and causes slow response. which is not what I search (and likely for most people).

Like Brian Sword likes this

Hey, Team Trello (I'm addressing you because Taco would surely do as asked)!

This has been an open complaint for years now..

I want to add to the chorus above. In addition to the needless multi-clicks to delete a card when we know it is not required (but are forced to Archive it first anyway), you also make us go into EACH board archive individually to look for archived crap. There is no easy way to view all archived cards across boards.

And I echo the question Scott Ivell raised above... Is there some data mining reason or internal (investor-related) metric that makes you cling to this stuff that your users would delete? I know that AWS space is cheap, but... what's the story?

Aren't you the least bit concerned about Asa na?

Like # people like this

I also echo Scott Ivell and Jason YH wondering whether Trello wants archived cards for data mining. I'm not against data mining in itself. However, for the users that have good reasons to easily delete archived cards, don't punish us. I'm sure there will still be plenty of users who have collections of archived cards if Trello wants to use that data.

FEATURE DETAIL: I'd like the option to easily delete a range of archived cards. For me, I'd like to delete all cards older than a month, for example. I would be happy with a relative date range feature, e.g., delete all cards older than __ timeframe (days, weeks, months, years). I would accept a selection checkbox interface, e.g., a select all button with the ability to uncheck one or more cards. I prefer the former method.

Like Brian Sword likes this

Marta:

I think it's a important for there to be a multiple delete option -- especially if paired with one that allows display of a search for matching cards. Here's a real use case:

I created a daily repeating card to shovel the walk to clear snow. It's summer now, and I don't need to see it. I want to delete all cards matching that title (or date range, or matching text in description, etc.) without having to do the two-step of finding the archived card and deleting it.

Another side notem Marta, until the original "repeat" card is deleted, it will auto-populate the card every day even if archived. I think this is a bug, as archiving it should cancel it's ability to generate new cards.

Like # people like this

I would also like to have the option to bulk delete archived cards.

 

Since this option is not available now, I use the following workaround:

I create a board called trash with a list called trash.

Then instead of archiving cards, I move them to the trash board/list.

Then every once in a while, I close the board, delete it and then create it again.

All cards in trash are deleted.

Clever workaround. Nice.

I just don't understand why Trello won't add the OPTION to delete all archived cards. Make the people who want that feature happy. Don't punish us.

The fact that there has been zero engagement on a 3 year old open issue, and no updates, makes me want to use a diffferent service. 

There are multiple use cases for enabling this feature, or at least enabling an API that could do it.

Terrible support, terrible community engagement.

You just lost a previous Trello advocate

I posted a solution

I have a solution!

I stumbled upon this page after googling for a solution to this problem. I had to manually delete 200+ cards which was annoying. So I created a codepen to automate it. Complete with an "Atlassian Blue" form button.

Here it is: https://codepen.io/jwktje/full/XWKOEeR

It automatically gets all archived cards on a board and deletes them for you. This is done through the official REST API for Trello using only Javascript Fetch and your own user API key and token. This means the script runs locally. You don't need to install anything or allow oauth access to your account, and no third-party needs access to your account.

The script is open source inside Codepen so you can check my Javascript.

If you found this useful please vote this answer up and maybe think of me for any future projects where you need custom business logic and/or automation. I'm not spamming my website here but it's mentioned on the Codepen

Suggest an answer

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

📹 What is Trello?

Hello Community!  My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. I'll be sharing with you a series of videos with my top tips on how to best use Trello...

241 views 7 15
Read article

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