DEV Community

Cover image for Easily identify a Trello card
Leonardo Montini
Leonardo Montini

Posted on

Easily identify a Trello card

We all love Trello, don't we?
Trello Logo
It's a powerful tool that allows us to create boards that are the core of our productivity, taking care of the organization, coordination and management of our business.

One thing that is natively missing is easily identifying cards/tasks with numbers or IDs, as we can easily do with other tools such as Jira.

Fun fact, Trello actually has IDs (you can see them when opening a card, in the URL) but it's not all!

https://trello.com/c/rFCd7Zu0/5-legal-review with 5 being the ID.

Numbers are also already in the code but hidden behind a hide class.



<span class="list-card-title js-card-name" dir="auto">
  <span class="card-short-id hide">#3</span>
  Sketch site banner
</span>


Enter fullscreen mode Exit fullscreen mode


.hide {
    display: none;
}


Enter fullscreen mode Exit fullscreen mode

What we found so far? Cards do have a native and unique ID and Trello makes us the job easy to grab them with a script. There are many ways actually, a really cool trick is this bookmark.
Looks like dark magic but it works... until you reload the page :)

There are also Trello Powerups, but having more than one needs a premium account. Not really convenient.

One of the most common way to get those handy Trello card numbers is with a simple Chrome extension. I'm clearly not the first one thinking about it, but I wanted to create one as an exercise and share it with you. It's obviously Open Source and the repo is on GitHub. You can open an issue or a PR if you want!

Extension Settings

Card with Number

You can install it from the Chrome Store.


Bonus content:, I also like making YouTube videos and I though it was a cool idea to make a short clip (less than 1 minute) to showcase the little project.

If you're curious and you still have 58 spare seconds:


Do you use Trello? Do you think having numbers is useful? Let me know :)

Happy coding and see you soon!

Top comments (0)