When I resolve a ticket, it e-mails the user the resolved template, but
that template doesn’t include the information I entered. Do I need to
use the following?:
{
my $resolution_comment;
my $Transactions = $Ticket->Transactions;
$Transactions->Limit( FIELD => ‘Type’, VALUE => ‘Comment’ );
$Transactions->OrderByCols (
{ FIELD => ‘Created’, ORDER => ‘DESC’ },
{ FIELD => ‘id’, ORDER => ‘DESC’ },
);
my $CommentObj = $Transactions->First;
if( $CommentObj && $CommentObj->id ) {
$resolution_comment = $CommentObj->Content;
}
$resolution_comment;
}
Thanks,
Chad