[rt-users] scrip for updating ticket info

Ken Crocker kfcrocker at lbl.gov
Wed Dec 16 12:08:51 EST 2009


Juan

We re-set the owner of a ticket when it moves to another Queue. This is 
what we use:

Condition: On Queue Change

#----------------------------------------------------------------------------
# Custom action preparation code:
#----------------------------------------------------------------------------

return 1;

#----------------------------------------------------------------------------
# Custom action cleanup code:
#----------------------------------------------------------------------------
# set new Ticket Owner value

my $ticket = $self->TicketObj;

$ticket->SetOwner(10, 'Force');

return 1;


Just modify it to change the ticket fields you want change and that 
should do it.
Hope this helps.

Kenn
LBNL

On 12/16/2009 6:45 AM, Juan N. DLC wrote:
> Hi,
>
> Is it possible to have a scrip to modify the due date & priority of a 
> ticket each time is moved from queue to queue?
>
> Thanks
> ------------------------------------------------------------------------
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20091216/be37ae51/attachment.htm>


More information about the rt-users mailing list