[rt-users] Placing Custom Fields into the Subject

sharon.belliveau at frb.gov sharon.belliveau at frb.gov
Tue Mar 13 09:54:57 EDT 2012


Ack!  Error in the previous email (not custom condition, should be custom
action):
 Description: 001 On Create, Set Subject to CF Values
 Condition:  On Create
 Action:  User Defined
 Template: Global template: Blank
 Stage:	 TransactionCreate


 Custom Action Preparation Code:
  # set the subject to  Report Type : Report
   my $subject = $self->TicketObj->FirstCustomFieldValue('Report Type') .
': ' .
              $self->TicketObj->FirstCustomFieldValue('Report') ;

    $self->TicketObj->SetSubject($subject) ;


Sharon Belliveau
Federal Reserve Board







More information about the rt-users mailing list