[rt-users] How to notify a user that their ticket has been stolen?
Niels Bakker
niels=rt at bakker.net
Fri Sep 9 08:04:15 EDT 2005
Hi Paul,
* pwagland at allshare.nl (Paul Wagland) [Thu 06 May 2004, 11:17 CEST]:
[..]
>The problem is that the "Old Owner" is always a number... how do I
>convert that number back into a user name?
I used this code in the template:
Old Owner: {my $user = new RT::User($RT::SystemUser);
$user->Load($Transaction->OldValue); $user->Name ||
$Transaction->OldValue}
I think you can use the same trick (using $user->EmailAddress) to have a
copy sent to the old requestor, just add e.g. a Bcc: line to the template
header section.
Regards,
-- Niels.
--
More information about the rt-users
mailing list