Scrip Actions


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

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

Thanks in advance,