This is what I get in the log when I put that into my template: [Fri Apr 26 12:46:26 2013] [error]: Template parsing error: Can't call method "Transactions" on an undefined value at template line 5.
-- Marko Cupać On Fri, 26 Apr 2013 16:17:03 +0400 Ruslan Zakirov <[email protected]> wrote: > On Fri, Apr 26, 2013 at 2:57 PM, Marko Cupać <[email protected]> > wrote: > > > Is it possible (maybe by help of TransactionBatchStage) to include > > text of original request in owner change template, similar to > > including last comment on ticket resolve? > > > > > You don't need batch stage for that. You just need first transaction > of type Create. > > ... > my $txns = $ticket->Transactions; > $txns->Limit( FIELD => 'Type', VALUE => 'Create' ); > my $txn = $txns->First; > ... > > -- > > Marko Cupać > > > > >
