[rt-users] Original request in owner change template

Ruslan Zakirov ruz at bestpractical.com
Fri Apr 26 08:17:03 EDT 2013


On Fri, Apr 26, 2013 at 2:57 PM, Marko Cupać <marko.cupac at mimar.rs> 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ć
>



-- 
Best regards, Ruslan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130426/c2ac0533/attachment.htm>


More information about the rt-users mailing list