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

Trello: How can you relocate multiple archived cards to another board simultaneously?

Bíró András Dániel April 10, 2024

Hello,

Is it possible to somehow relocate our archived cards to a different board? Currently, we have approximately 300k archived cards, and we've encountered the issue of approaching the limit on the number of attachments allowed on a single board. Unfortunately, switching to a different board isn't an option for us, as we rely on Trello 24/7. Hence, our intention is to create a new board where we can transfer the archived cards. However, manual transfer would be incredibly time-consuming, potentially taking weeks or even months.

I came across a post mentioning a bot called "BenkoBot," which I attempted to utilize. However, I encountered difficulty in getting the code to move more than one card at a time.

Is there any solution available to address this issue without the need to switch to a new board?

Thanks in advance.
Andrew

1 answer

1 accepted

0 votes
Answer accepted
Trello April 10, 2024

Hello Bíró András Dániel

You can do this using the Trello API and Scripts.
In the code you need to request cards from your board, and check the condition “is the card archived?” If “yes,” then we move it to another board.

The API allows you to request an array of cards on your board and execute commands to move it.

Please tell me, do you have one list where the cards were archived, or several lists? (the complexity of the script depends on this)


 

I'm ready to help you move the cards, i have experience in this.
All my 50 employees work in Trello, that's a lot of cards, and 3 years ago I had the same problems as you.

To do this, I independently studied programming and made many business programs for my Trello. Every month I use them to make huge reports, process maps in bulk, perform searches and aggregations through scripts for various tasks.

*I use a translator, there may be typos

Bíró András Dániel April 10, 2024

Thank you for your response.

I'm a bit unfamiliar with the Trello API myself, but I believe it's a developer tool used for integrating Trello with other applications. It sounds promising, but I'm concerned about whether it might exhaust our monthly quota of workspace commands. We currently have around 40 lists in our board.

Trello April 10, 2024

API limits

Trello API has its own limits, more details here.

In short, the API has a limit of 300 requests per 10 seconds, this will seem like an “unlimited tool” to you. You can control the system as you wish.

According to my rough calculations, it will take 3 hours to move your 300k cards, well, a new board.

If you are interested in this, I can write you this script, test it on my Trello and send you a video demonstration

Butler Quotas

Trello Butler has its own limits, more details here.

Your Butler "operations" and "runs" limits will not be consumed when using the API.

Provided that you do not perform actions that activate the triggers of your Butler rules.

Example 1:

  • You want to move 50 cards from sheet A to sheet B.
  • You run the script, it takes all the cards in list A, and for each one it makes an API request to move it to list B.
  • In this case, Butler did nothing, there is no quota consumption.

Example 2:

  • You want to move 50 cards from sheet A to sheet B, and you have the Butler rule enabled with the trigger "When a card is moved to sheet B"
  • You run the script, it takes all the cards in list A, and for each one it makes an API request to move it to list B.
  • Since sheet B is specified in the Butler trigger, there will be 50 “runs” of commands and consumed “operations” in the amount of (n-runs * n -operations in the rule)
Bíró András Dániel April 11, 2024

Thank you for the explanation. I would greatly appreciate it if you could provide the demonstration you mentioned.

Trello April 15, 2024

I did the demo as promised

open demo link 

 

Speed ~3 cards/sec. 300 thousand cards = 20–35 hours.

I also made the second option - a slower version of the mover, it overloads the API less.
Can be used when your Trello is working hard to avoid lag in the board or Butler.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events