Putting CF values in email templates?
Alex Hall <[email protected]> Fri, 30 Dec 2016 12:35:05 -0500
| Newsgroups | gmane.comp.bug-tracking.request-tracker.user |
|---|---|
| Message-ID | <CA+Q8_JdXjui-btBTYB95tQWsokEkH9kqG6cUXDqyfs0U5hp5EA@mail.gmail.com> |
Hi all,
I'm trying to get CF values to conditionally appear in tickets, but when I
do, the template breaks and no emails get sent to anyone. I've seen a few
ways of doing this in the Wiki, each a bit different and many for different
RT versions. Here's my attempt. What did I do wrong?
{
if(my $orderNumber = $Ticket->CustomFieldValues["Order Number"]) {
"<p>Testing printing the order number: " . $orderNumber . "</p>"
}
}
Thank you for any information.
--
Alex Hall
Automatic Distributors, IT department
[email protected]