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

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

Is it possible to have Trello select a random card from a board?

I'm using Trello to manage a fairly large list of small tasks.    I would love to have a Trello board that functions as a job jar, and just have it choose one of the cards and hand it to me.  Does something like this already exist?  Is it something that could be done with Butler?

Assuming the answer is no, would power-ups be a good tool for implementing this?  I'm a software engineer, and even though I'm crap at front-end work I could probably muddle my way through the process.

3 answers

1 accepted

1 vote
Answer accepted
Iain Dooley Community Leader Jun 02, 2020

@Patti B This Butler command would do it:

2020-06-02 at 11.18 pm.png

Thank you!  

Do you know if it's possible to turn that into a push-button operation?  I kind of want to turn it into a task pellet dispenser. 

(Button)  Reorganize the silverware drawer.

... done.  What next?

(Button)  Wash the living room windows.

bs Atlassian Team Jun 02, 2020

You could create a board button and tell it, on being pressed, to move a random card selected from a list to another list.  That should do it?

Like Iain Dooley likes this
Iain Dooley Community Leader Jun 02, 2020

@Patti B also it looks like you might be doing tasks that are kind of "recurring maintenance". I use this for my home maintenance board:

2020-06-03 at 12.00 pm.pngThe tasks look like this:

2020-06-03 at 12.03 pm.png

As you can see the things that have been done the least recently all sit higher up in the list, I pick something, do it, then mark the due date as complete and it moves to the bottom of the list.

@bs That is very close to what I want.  Thank you!  If I can figure out how to have it choose from multiple lists then it will be perfect.  I suppose I could restructure into a single list with labels but that defeats the purpose of having lists.

Off to documentation and references I go...

@Iain Dooley It's for managing a large backlog of tasks, some of which are recurring maintenance.

I'm ADD, and things tend to pile up.  Staring at a large list of tasks paralyzes me-- the whole thing seems insurmountable, so I just don't do anything.  I want to just have lists of small tasks broken down by category (e.g. kitchen, the storage room, whatever) then when I have time I want a system to hand me a task without my having to think about what it is.  The best analog is an old-fashioned job jar with slips of paper in it, but with a better interface for managing the slips of paper.

To follow up on this, I've solved the problem with a Chrome plugin that gets a list of all the cards on the current screen and randomly opens one.  I started down the path of writing it myself then remembered that I'm a back-end girl and my eyes glaze over whenever I have to deal with UI, so I outsourced it.

Thank you all for the excellent feedback and suggestions!

What was the Chrome plugin/extension that you found worked for this? I am looking for the ability to move a random card from the entire board or to randomly open a card from the entire board. Hoping your Chrome plugin works for me too!

I commissioned it from someone on Fiverr, and share it selectively.

Is it possible to shar this or to share the individual you commissioned for the task?


@Brian Miglionico Contact me at pattib at pattib dot oh-or-gee.

(smacks self in forehead)

There are two obvious solutions:

#1: Whip up a Greasemonkey script
#2: Use the API and toss a simple webpage somewhere that lets me push buttons and get task pellets

Iain Dooley Community Leader Jun 04, 2020

@Patti B if you're going to use the Trello API, you might like this open source thing I wrote:

You could have it recur every day, for example. You can see tonnes of example code here that I've posted to the community:

Like bs likes this
Iain Dooley Community Leader Aug 27, 2021

@Patti B @bs I just got a bump on this post so though I'd update you that we have just launched scheduled actions on the BenkoBot site. Patti, BenkoBot allows you to run API code using the Trellinator library I linked to above:

This code would randomly select one card from a list and then schedule itself to run again at 7am the next day:

This link will install it in BenkoBot as an Action

(you'll need to enter your API key/token first but you can preview the code before you save/run it). You'll need to update the name of your board/list etc. or modify where gets the tasks from to your liking.

Alternatively you could trigger the next one to be selected when you archive the card you're currently working on:

This link will install it in BenkoBot as a Trello Listener

After you enter your API key/token you'll see the code and can edit the list names and so on, you can also choose on which boards it should run.

Like Patti B likes this

Suggest an answer

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

📹 Favorite Trello templates

Hello Community!  My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. In this video, I'll share my favorite Trello templates. Templates mentioned in ...

3,638 views 25 63
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