[rt-users] Default requestor for linked / child tickets
Emmanuel Lacour
elacour at easter-eggs.com
Thu Jul 28 03:52:23 EDT 2016
Le 28/07/2016 à 09:47, Emmanuel Lacour a écrit :
>
>
> I see, I used a self made callback:
>
>
> $m->callback( CallbackName => "MassageClone", Clone => \$clone,
> CloneTicketObj => $CloneTicketObj, ARGSRef => \%ARGS );
>
>
> Which pass the original ticketobj, so with the new standard
> MassageCloneArgs, the code should looks like:
>
>
> <%init>
> my $CloneTicketObj = LoadTicket( $$DECODED_ARGS{'CloneTicket'} );
> $$ARGSRef{Requestors} = $CloneTicketObj->OwnerObj->EmailAddress;
> </%init>
> <%args>
> $ARGSRef => undef
> </%args>
>
>
for the record:
https://issues.bestpractical.com/Ticket/Display.html?id=32212
--
Easter-eggs Spécialiste GNU/Linux
44-46 rue de l'Ouest - 75014 Paris - France - Métro Gaité
Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 43 35 00 76
mailto:elacour at easter-eggs.com - http://www.easter-eggs.com
More information about the rt-users
mailing list