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

Reporting card count by list

Hi.

Thanks to a post by @Devon_Henderson I was able to create and run my very first Butler report. It will list all active cards by list in a given board.

Is there a way I can get count of cards per board included in a report?

I know I can open my current report and do a manual count, but I would like to automate this.

Thanks.

Gerardo

1 answer

1 accepted

0 votes
Answer accepted
Iain Dooley Community Leader May 06, 2020

@Gerardo Blitzer butler reports loop through cards, not lists, so there isn't a variable that will be available to tell you the number of cards in a list, or number of cards in a board. 

What would you want this to look like and why? There might be another way to achieve the same outcome.

I need to know on a daily basis how many cards there are in each list of a given board.

Currently, I do this manually and it takes me a minute but there are a couple of reasons why I want to automate it: (a) I want to take this task out of my head :) and (b) I want to learn more about automating tasks in trello!

(I checked Trellinator a bit but I will not go into that, it looks quite complicated...)

 

Thanks!

Iain Dooley Community Leader May 07, 2020

@Gerardo Blitzer you could use something like this Chrome extension:

https://chrome.google.com/webstore/detail/original-card-counter-for/ggamggchfpnmhmkeicjgpedgjcllcefp?hl=en

the only challenge is that it won't work on any platform other than Chrome. And yes Trellinator can be a bit tricky but this function will update list counts if you name the list like "List Name (0)" and the advantage is that it will run on any platform:

https://gist.github.com/iaindooley/a440a6a91b68676f489a0b64652b95ac

I used this function to replace DashCards that Butler used to have :) It winds up looking like this:

2020-05-07 at 10.21 pm.png

The only disadvantage is that it kind of complicates things because any automation that requires list names needs to take into account the fact that the end of the list name changes so you need to remember to use "starting with".

However an advantage of this approach for your use case is that the list name will have the number of cards in it, so you should be able to use the {cardlistname} variable in your report to tell you in the email how many cards are in each list at the time the report is created.

You'll just need to use a wildcard in your Butler report for the list name like "Lead in ({*})" so that it matches the list regardless of what the card count has been updated to.

Like Gerardo Blitzer likes this

I use Chrome and added the Ultimello extension. I like it more than the one you suggested.

The good thing about the script is that I can use Butler to run daily.

I think that sooner or later I will have to get into Trellinator and Google Scripts...

 

Thanks

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...

794 views 13 30
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