Sending notification with values of cutom fields

hi all,

is it possible to send a notification with a value of cutom field,

thank you

Try
{$Ticket->FirstCustomFieldValue(‘Your_Custom_Field_Name’)}
in the body of the template!

Regards;
Roy

hanane ourdani wrote:

Hunane,

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:

This ticket has been resolved. DO NOT REPLY to this message!
TICKET INFORMATION:
Queue : {$Ticket->QueueObj->Name}
Number : {$Ticket->Id}
Priority is: {$Ticket->Priority}
Requestor : {$Ticket->Requestors->UserMembersObj->First->Name}
Created by: {$Ticket->CreatorObj->Name}
Created on: {substr($Ticket->Created, 0, 10)}
Owned by: {$Ticket->OwnerObj->Name}
Development Started on: {substr($Ticket->Started, 0, 10)}
Description of Issue:
{$Ticket->FirstCustomFieldValue(‘Description’)}

Resolution comment:
{
my $Resolution_Comment;
my $Transactions;
my $CommentObj;

  $Transactions = $Ticket->Transactions;
  $Transactions->Limit( FIELD => 'Type', VALUE => 'Comment' );
  $Transactions->OrderByCols(
      { FIELD => 'Created',  ORDER => 'DESC' },
      { FIELD => 'id',     ORDER => 'DESC' },
      );

  $CommentObj = $Transactions->First;

  if  ($CommentObj && $CommentObj->id)
  {
       $Resolution_Comment = $CommentObj->Content;
  }
  else
  {
       $Resolution_Comment = "No comment."
  }

  return $Resolution_Comment;
 }

To view ticket information, enter URL:

{$RT::WebURL}Ticket/Display.html?id={$Ticket->id}

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.

Kenn
LBNLOn 5/29/2009 7:18 AM, hanane ourdani wrote:

hi all,

is it possible to send a notification with a value of cutom field,

thank you


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

http://wiki.bestpractical.com/view/TemplateOn Fri, May 29, 2009 at 6:18 PM, hanane ourdani hanane.ourdani@gmail.com wrote:

hi all,

is it possible to send a notification with a value of cutom field,

thank you


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Best regards, Ruslan.