<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hunane,<br>
<br>
<br>
Here's a copy of a template we use for resolved tickets. It
includes Ticket info, CF info and any comments made while resolving the
ticket:<br>
<br>
Subject: Request Titled: "{$Ticket->Subject}" has been Resolved!<br>
<br>
This ticket has been resolved. DO NOT REPLY to this message!<br>
-----------------------------------------------------------------------------<br>
TICKET INFORMATION:<br>
Queue : {$Ticket->QueueObj->Name}<br>
Number : {$Ticket->Id}<br>
Subject: {$Ticket->Subject}<br>
Priority is: {$Ticket->Priority}<br>
Requestor :
{$Ticket->Requestors->UserMembersObj->First->Name}<br>
Created by: {$Ticket->CreatorObj->Name}<br>
Created on: {substr($Ticket->Created, 0, 10)}<br>
Owned by: {$Ticket->OwnerObj->Name}<br>
Development Started on: {substr($Ticket->Started, 0, 10)}<br>
-----------------------------------------------------------------------------<br>
Description of Issue:<br>
{$Ticket->FirstCustomFieldValue('Description')}<br>
<br>
-----------------------------------------------------------------------------<br>
Resolution comment:<br>
{<br>
my $Resolution_Comment;<br>
my $Transactions;<br>
my $CommentObj;<br>
<br>
$Transactions = $Ticket->Transactions;<br>
$Transactions->Limit( FIELD => 'Type', VALUE =>
'Comment' );<br>
$Transactions->OrderByCols(<br>
{ FIELD => 'Created', ORDER => 'DESC' },<br>
{ FIELD => 'id', ORDER => 'DESC' },<br>
);<br>
<br>
$CommentObj = $Transactions->First;<br>
<br>
if ($CommentObj && $CommentObj->id)<br>
{<br>
$Resolution_Comment = $CommentObj->Content;<br>
}<br>
else<br>
{<br>
$Resolution_Comment = "No comment."<br>
}<br>
<br>
return $Resolution_Comment;<br>
} <br>
-----------------------------------------------------------------------------<br>
To view ticket information, enter URL:<br>
<br>
{$RT::WebURL}Ticket/Display.html?id={$Ticket->id}<br>
<br>
I'm sure your info will be different, but this should give you a
good example of the kinds of info you can put into a notification. Hope
this helps.<br>
<br>
Kenn<br>
LBNL<br>
<br>
On 5/29/2009 7:18 AM, hanane ourdani wrote:
<blockquote
cite="mid:d779e32a0905290718l612269a7rf928c785dce6137@mail.gmail.com"
type="cite">
<div dir="ltr">hi all, <br>
<br>
is it possible to send a notification with a value of cutom field,<br>
<br>
thank you<br>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
<a class="moz-txt-link-freetext" href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a>
Community help: <a class="moz-txt-link-freetext" href="http://wiki.bestpractical.com">http://wiki.bestpractical.com</a>
Commercial support: <a class="moz-txt-link-abbreviated" href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at <a class="moz-txt-link-freetext" href="http://rtbook.bestpractical.com">http://rtbook.bestpractical.com</a></pre>
</blockquote>
</body>
</html>