App::TimeTracker::Command::Trello - App::TimeTracker Trello plugin


version 1.008


This plugin takes a lot of hassle out of working with Trello

Using the Trello plugin, tracker can fetch the name of a Card and use it as the task's description; generate a nicely named git branch (if you're also using the Git plugin); add the user as a member to the Card; move the card to various lists; and use some hackish extension to the Card name to store the time-worked in the Card.



Add Trello to the list of plugins.


add a hash named trello, containing the following keys:


Your Trello Developer Key. Get it from or via tracker setup_trello.

token [REQUIRED]

Your access token. Get it from,write. You maybe want to set a longer expiration timeframe.

You can also get it via tracker setup_trello.


The board_id of the board you want to use.

Not stictly necessary, as we use ids to identify cards.

If you specify the board_id, tracker will only search in this board.

You can get the board_id by going to "Share, print and export" in the sidebar menu, click "Export JSON" and then find the id in the toplevel hash. Or run tracker setup_trello.


Your trello member_id.

Needed for adding you to a Card's list of members. Currently a bit hard to get from trello, so use tracker setup_trello.


Default: trello:

Add this prefix to the card name when storing it as tag. Useful to discern regular tags from card name pseudo tags.


If set to true, updates the time worked on this task on the Trello Card.

As Trello does not provide time-tracking (yet?), we store the time-worked in some simple markup in the Card name:

  Callibrate FluxCompensator [w:32m]

[w:32m] means that you worked 32 minutes on the task.

Context: stopish commands


If set to true, will fetch the name of the list the current card belongs to and store the name as an additional tag, unless the list name matches /^(todo|doing|done|review)$/i

Context: startish commands



    ~/perl/Your-Project$ tracker setup_trello

This will launch an interactive process that walks you throught the setup.

Depending on your config, you will be pointed to URLs to get your key, token and member_id. You can also set up a board_id. The data will be stored in your global / local config.

You will need a web browser to access the URLs on

--token_expiry [1hour, 1day, 30days, never]

Token expiry time when a new token is requested from trello. Defaults to '1day'.

'never' is the most comfortable option, but of course also the most insecure.

Please note that you can always invalidate tokens via (go to Settings/Applications)


start, continue


    ~/perl/Your-Project$ tracker start --trello s1d7prUx

    ~/perl/Your-Project$ tracker start --trello

If --trello is set and we can find a card with this id:

  • set or append the Card name in the task description ("Rev up FluxCompensator!!")

  • add the Card id to the tasks tags ("trello:s1d7prUx")

  • if Git is also used, determine a save branch name from idShort and the Card name, and change into this branch ("42_rev_up_fluxcompensator")

  • add member to list of members (if member_id is set in config)

  • move to Doing list (if there is such a list, or another list is defined in list_map in config)

<C--trello> can either be the full URL of the card, or just the card id. If you don't have access to the URL, click the 'Share and more' link (rather hard to find in the bottom right corner of a card).

If listname_as_tag is set, will store the name of the card's list as a tag.


  • If <update_time_worked> is set in config, adds the time worked on this task to the Card.


If --move_to is specified and a matching list is found in list_map in config, move the Card to this list.


Thomas Klausner <>


This software is copyright (c) 2016 - 2021 by Thomas Klausner.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.