Trello Markdown



  1. Trello Markdown
  2. Trello Markdown Links

If you have added custom fields to you Trello board, they will be automatically imported and made available in your dashboard. You can use them for:

With the Trello Table Markdown Chrome extension you can now use markdown to create tables in card description and comments. And this new version also supports code syntax highlighting! Trello gives you perspective over all your projects, at work and at home. It is an easy, free, flexible, and visual way to manage your projects and organize anything. Connect to Trello to manage your boards, lists and cards. Trello supports Markdown, meaning that HTML input is represented appropriately. Cards with attachments are also rendered well. For example, images are shown correctly on the card, bug links are detected etc. Using custom fields in Trello: In this guide dedicated to Trello users, discover how to build in just a few clicks custom dashboards and reports to get a clear picture of your work progress at a glance. Read more about using custom fields in Trello and all the advanced Trello metrics available at yo.

  • Assigning estimates for tasks

    • Set size, story points, hours, fibonacci numbers - whatever you use for estimating effort

    • Track sprints and milestones using estimates

  • Grouping and filtering by a custom field

    • See the number of open/completed tasks per custom field

    • See total estimated work per custom fields

    • Track metrics like lead & cycle times per custom field

Once you add a field to a board, it is imported to you dashboard during the next data sync (the data is synced once per hour and you can trigger sync manually anytime at the integration settings). Once synced, your Dropdown custom fields become available for grouping and filtering data. Number custom fields can be used for e.g. assigning estimates, or other kind of weights such as monetary value for individual tasks.

Fields of type Text, Date, or Checkbox can be used as columns in the Task list chart.


Setting weights for cards using a custom field

To set weight or estimate using a custom field, first add the Custom fields Power-up to your board. Then assign a value to each of the tasks in your project. The default value is zero if no value is given.

Screenful will automatically make all Number fields available in the Unit field in the chart settings. If you have a Dropdown field that you'd like to use as a Unit, you can change the field mapping.

In order to use a custom field values, you have to select it as a Unit in the chart settings. Here's how it looks like in the Task Status settings:

In the Task Status screen, when Story points is selected as the unit, the rightmost column reports the total Story points in each state:

Instead of just seeing the total number of tasks, you can now see the total estimated work per tasks per individual.


Grouping and filtering by a custom field

Custom fields that are of type Dropdown become available in the group by menus so you can use them for grouping data in the charts. Here's an example how they can be used for grouping in the Open tasks chart:

This chart is grouped by Epic, a drop down custom field added to the Trello board. The breakdown overlay shows the number of open tasks per Epic.

Here are the steps required to produce the above chart:

  1. Add a Dropdown custom field named Epic to your Trello board

  2. Add dropdown options for the field (i.e. the list of available Epics)

  3. Assign cards to Epics by selecting the Epic from the Dropdown menu

  4. In Screenful, select Epic from the Group by menu

This is just an example of how you can extend Trello's core features using custom fields, in this case by assigning tasks to Epics. You can probably think of many other uses for custom fields!


< back to main

Variables are special pieces of text enclosed in curly brackets that are replaced by a current value when a command is executed.

Trello card formatting

Variables can be used in list names, card titles, card descriptions and comments, e.g.:

every monday at 9am, create a list called 'Tasks for week #{weeknumber}'

when a card is moved to 'Done', post a comment 'Closed by {username} on {date}'

when the red label is added to a card by anyone, rename it to '{cardname} BLOCKED'

This article contains a complete list of variables currently understood by Butler.

NOTE Some of the variables and triggers mentioned here are not available for all types of accounts. For example, some are part of the Enterprise Butler product.

Time related

  • {date} e.g. October 3, 2016
  • {monthdaynumber} e.g. 3
  • {monthdaynumberlong} e.g. 03
  • {yeardaynumber} e.g. 277
  • {yeardaynumberlong} e.g. 277
  • {weekdaynumber} e.g. 1
  • {weekdayname} e.g. Monday
  • {weekdayshort} e.g. Mon
  • {dateshort} e.g. Oct 3, 2016
  • {datelong} e.g. October 3, 2016
  • {datenumber} e.g. 10/3/2016
  • {isodate} e.g. 2016-10-03

You can prepend tomorrow and yesterday to the above, e.g. {tomorrowmonthdaynumber}, {yesterdayisodate}.

You can prepend nextworkingday_ and previousworkingday_ to the above, e.g. {previousworkingday_monthdaynumber}.

  • {weeknumber} e.g. 40 (ISO week numbering -- starts on Monday)
  • {weeknumberlong} e.g. 40 (ISO week numbering, zero-padded)
  • {usweeknumber}, e.g. 41 (U.S. week numbering -- starts on Sunday)
  • {usweeknumberlong}, e.g. 41 (U.S. week numbering, zero-padded)
  • {weekyear} e.g. 2016 (year the week started, ISO week numbering)
  • {weekyearshort} e.g. 16
  • {usweekyear} e.g. 2016 (year the week started, U.S. week numbering)
  • {usweekyearshort} e.g. 16
  • {monthweeknumber} e.g. 1 (week within the month)
  • {usmonthweeknumber} e.g. 1

You can prepend last and next to the above, e.g. {lastweeknumber}, {nextusmonthweeknumber}.

  • {monthnumber} e.g. 9
  • {monthnumberlong} e.g. 09
  • {monthname} e.g. September
  • {monthshort} e.g. Sep
  • {quarternumber} e.g. 4
  • {year} e.g. 2016
  • {yearshort} e.g. 16

You can prepend last and next to the above, e.g. {nextmonthnumber}, {nextquarternumber}, {lastyearshort}.

  • {time} e.g. 9:59pm
  • {time24} e.g. 21:59
  • {timelong} e.g. 21:59:59 EDT

Note: 'long' numbers are zero-padded to be of consistent length (good for sorting)

Note: see also the related article on Arithmetic in Date Variables

Board data

  • {boardid} the id of the board
  • {boardname} the name of the board
  • {boardlink} the link to the board

After a create board command, the above with the new prefix (e.g. {newboardlink}) refer to the new board.

After a copy board command, the above with the copy prefix (e.g. {copyboardlink}) refer to the new copy of the board.

  • {cardboardname} (only after finding card with id) the name of the board where the card was found
Trello formatting code

Card data

Variables available generally when a card is involved:

Trello
  • {cardname} the card's name
  • {carddescription} the card's description (not always available)
  • {cardlink} a link to the current card
  • {cardlistname} the name of the list where the card is (not always available)
  • {cardid} the internal id of the card, e.g. FY2OWrnc. This is always constant.
  • {cardidlong} the internal long id of the card, e.g. 571d07b591c8b68aeb4f6acc. This is always constant.
  • {cardnumber} the internal number of the card on the board, e.g. 48. This changes when a card is moved to another board (not always available)
  • {labelnames} the names of all the named labels in the card, comma separated
  • {cardmemberusernames} the usernames of all the members of the card, comma separated
  • {cardmemberfullnames} the full names of all the members of the card, comma separated
  • {cardmembercount} the number of members of the card,
  • {cardfirstmemberusername}, {cardfirstmemberfullname}, {cardfirstmemberinitials} the details of the first member in the card.
  • {cardduecomplete} 'true' if the due date has been marked as complete, 'false' otherwise.
  • {cardcheckliststate} a formatted text with the state of all the checklists in the card, useful to add a comment with a snapshot of the state of a card's checklists.
  • {cardchecklistcount} the number of checklists on the card.
  • {cardcompletechecklistcount} the number of complete checklists on the card.
  • {cardincompletechecklistcount} the number of incomplete checklists on the card.
  • {cardduedate} the due date of the card (not always available). Also,
    {cardduedateweekdayname}, etc...
  • {cardcreationdate} the date the card was created.
  • {cardagedays} the age of a card in days, with two decimals (e.g. 1d 6h => 1.25).
  • {cardagehours} the age of a card in hours, with two decimals (e.g. 1h 40m => 1.67).
  • {cardageminutes} the age of a card in minutes, with two decimals (e.g. 1h 40m 30s => 100.5).

Note: For the last three (age), adding round at the end (e.g. {cardagedaysround}, rounds the number to the nearest integer.

When the trigger involves a card, the variables above preceded by trigger({triggercardname}, {triggercardlink}, etc) refer to the trigger card (not all variables may be available).

After creating a card, the variables above preceded by new({newcardname}, {newcardlink}, etc) refer to the new card (not all variables may be available).

After copying a card, the variables above preceded by copy({copycardname}, {copycardlink}, etc) refer to the new card (not all variables may be available).

After finding a card, the variables above preceded by found({foundcardname}, {foundcardlink}, etc) refer to the found card (not all variables may be available).

After the multiplier for each card, the variables above preceded by multiplier ({multipliercardname}, {multipliercardlink}, etc) refer to the current card (not all variables may be available).

When the trigger contains a condition, e.g. when a card with a due date... , the variables above preceded by condition({conditioncardduedate}, etc) refer to the card involved in the condition (typically the trigger card).

Variables available only in commands with triggers that involve a source card, such as when a card is copied and when a checklist item is converted to a card:

  • {sourcecardname} the title of the source card
  • {sourcecardlink} a link to the source card

Card time in list

  • {carddaysinlist} the number of days a card has spent in the current list, with two decimals (e.g. 1d 6h => 1.25). Useful to track time spent on tasks.
  • {cardhoursinlist} the number of hours a card has spent in the current list, with two decimals (e.g. 1h 40m => 1.67). Useful to track time spent on tasks.
  • {cardminutesinlist} the number of minutes a card has spent in the current list, with two decimals (e.g. 1h 40m 30s => 100.5). Useful to track time spent on tasks.
  • {carddaysinpreviouslist} the number of days a card spent in the previous list.
  • {cardhoursinpreviouslist} the number of hours a card spent in the previous list.
  • {cardminutesinpreviouslist} the number of minutes a card spent in the previous list.

Note: adding round to any of the time variables above, e.g. {cardagedaysround} gives the time rounded to the nearest integer.

If the trigger involves the movement of a card to a new list:

  • {triggercardpreviouslistname} the name of the list from which the trigger card comes from

Member data

Variables available only in commands with when triggers (i.e. not on due date or every):

  • {username} the username of the user that triggered the command
  • {fullname} the full name of the user that triggered the command
  • {initials} the initials of the user that triggered the command

Trello Markdown

Variables available only in commands with when triggers that refer to a card that refer to a card and on due date commands:

  • {creatorusername} the username of the user that created the card
  • {creatorfullname} the full name of the user that created the card
  • {creatorinitials} the initials of the user that created the card

Variables available only in commands with triggers where a user is matched, e.g. when someone is added to a card trigger, when someone is mentioned, etc. Also, in multipliers (for every member in the card). There's also variables for particular types of match (add, mention):

  • {matchedusername} the username of the member that matched in the command (added, mentioned, etc)
  • {matchedfullname} the full name of the user that was matched in the command (added, mentioned, etc)
  • {matchedinitials} the initials of the user that was matched in the command (added, mentioned, etc)
  • {addedusername} the username of the member that was added to the card
  • {addedfullname} the full name of the user that was added to the card
  • {addedinitials} the initials of the user that was added to the card
  • {removedusername} the username of the member that was removed from the card
  • {removedfullname} the full name of the user that was removed from the card
  • {removedinitials} the initials of the user that was removed from the card
  • {mentionedusername} the username of the member that was mentioned to the card
  • {mentionedfullname} the full name of the user that was mentioned to the card
  • {mentionedinitials} the initials of the user that was mentioned to the card

Other

Variables available for commands with certain triggers, such as when a list is created:

  • {listname} the name of the list

Variables available for the when a due date is added trigger:

  • Date variables for the due date: {cardduedate}, {cardduedateweeknumber}, {cardduedatemonthdaynumber} etc

Variables available for the when a comment is posted trigger:

  • {commenttext} the text of the comment
  • {commentlink} a link to the comment

Variables available only in commands with mentioning triggers such as when a card is mentioned and when a member is mentioned (also after the find the mentioned card action):

  • {mentionbacklink} a link to the card where the mention occurred
  • {mentiontext} the text (comment, card description, checklist item) that includes the mention
  • {linklessmentiontext} the text (comment, card description, checklist item) that includes the mention, with all card mentions (links) removed
  • {usernamelessmentiontext} the text (comment, card description, checklist item) that includes the mention, with all user mentions (@username) removed
  • {mentionlessmentiontext} the text (comment, card description, checklist item) that includes the mention, with all user or card mentions removed

Variables available only in when triggers involving a checklist, such as when a checklist is added:

  • {checklistname} the name of the checklist

Variables available only in commands with triggers such as when a checklist item is checked/unchecked:

  • {checklistitemname} the name of the checklist item
  • {checklistitemstate} the word 'complete' or 'incomplete'

Variables available only in triggers such as when a green label is added:

  • {labelname} the name of the label
  • {labelcolor} the color of the label

Variables available only in commands with triggers such as when the name of a card starts with and trigger conditions such as when a card with a name containing:

  • {matchedtext} the text that matched the condition, typically used with a condition including a {*} wildcard.
  • {textbeforematch} the text before the matched text.
  • {textaftermatch} the text after the matched text.

Variables available only in commands with triggers such as when the name of a card contains a date:

  • {matcheddate} the date interpreted by Butler.

Variables available only in commands with triggers such as when an attachment is added to a card:

  • {attachmentlink} the link to the attachment.
  • {attachmentname} the name of the attachment.

Variables only available in commands with triggers like when the name or the description of a card starts with:

  • {changedfield} the name of the field changed (name or description).
  • {textbefore} the text of the name or description before the update.
  • {textafter} the text of the name or description after the update.

Variables available after an HTTP request:

  • {httpresponse} the body of the response.

Variables available after a count cards command:

  • {cardcountresult}

[LEGACY BOT] You can see the current value of most variables by entering the action:

print variables

e.g.:

when a label is added to a card, print variables

After you add a label to a card, go to the rule log to see the values.

If you need a variable and it's not here, let us know and we'll do our best to make it available.