On my Trello board, I have an automation rule in place that posts a Slack message to a specific channel whenever a ticket is moved into the Status: Done or Status: Won't Do columns.
In my tickets, I have a custom field called Project which is populated either by hand or with another automation rule. The Project custom field works well and shows up on the card.
However, I want to include the value of the Project field in the body of the Slack message that gets posted.
Currently, the Slack message string looks like this:
📢\n\nTicket `{cardname}` was closed!\n*{cardlistname}* \n\n*Board*: {cardboardname}\n*Project*: {%Project}{Project}\n*Ticket Assignee(s)*: {cardmemberfullnames}\n\n*Ticket Description*: {carddescription}\n*Ticket Created At*: {cardcreationdate}\n*Estimated Completion Date*: {cardduedate}\n*Link to Ticket:* {cardlink}\n------------------------Different tags I've tried:
{Project}{project}{%Project}{%project}
And none of them worked.
I know that automations which have a custom field as a trigger, allow {customfieldname} and {customfieldvalue} as possible string interpolation values. So if I made an automation that triggers a Slack message every time the Project custom field is updated, I would be able to use {customfieldvalue} to print it out into Slack.
However, my automation triggers off of when a card is added to list, because I want this automation to happen whenever a card gets moved to Done, rather than whenever the Project custom field is updated.
Is there any way to get the custom field Project to print out properly with this type of automation trigger?
The full text of the automation rule looks like this:
when a card is added to list "Status: {*}" by anyone, set custom field "Status" to "Done", post message "📢\n\nTicket `{cardname}` was closed!\n*{cardlistname}* \n\n*Board*: {cardboardname}\n*Project*: {%Project}{Project}\n*Ticket Assignee(s)*: {cardmemberfullnames}\n\n*Ticket Description*: {carddescription}\n*Ticket Created At*: {cardcreationdate}\n*Estimated Completion Date*: {cardduedate}\n*Link to Ticket:* {cardlink}\n------------------------" to Slack channel "#ticket-completion" in workspace "Chaima Love" as Butler, set date custom field "Closed At" to now, set date custom field "Updated At" to now, sort the list by custom field "Closed At" descending, and mark the card as complete