[rt-users] Scrip Actions

J.P. Racine racinejp at vianet.ca
Thu Nov 23 12:26:14 EST 2006


Greetings,

 I'm writing a perl script that updates a remote db that for the most
part is working properly.  My question is - what method would I
access/require to get the message body of a transaction ( the comment )?

Fore example, in my sub Commit {}

Ticket id is $self->TicketObj->id; 

Custom fields are accessed as
 $self->TicketObj->FirstCustomFieldValue('CUSTOMFIELDX');

I'm looking to add the last comment recorded in a ticket.

Thanks in advance,

-JP







More information about the rt-users mailing list