Adding unique IDs on Trello cards automatically

Adding unique IDs on Trello cards automatically

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>
.hide {
    display: none;
}

What have we found so far? Cards do have a native and unique ID and Trello makes the job easy to grab them with a script.

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

One of the most common ways 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, you can find the video here: youtu.be/G-nZXr_Gs6o


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

Happy coding and see you soon!

Did you find this article valuable?

Support Leonardo Montini by becoming a sponsor. Any amount is appreciated!