[rt-users] scrip for updating ticket info

Juan N. DLC juann.dlc at gmail.com
Wed Dec 16 13:46:24 EST 2009


Thanks guys!

Ken,

I'm not that expert creating scrips, but I do understand the scrip below but
I don't know how to edit it to set the values that I need. How to I get the
values from the queue moving to and apply it to the ticket.

Thanks

On Wed, Dec 16, 2009 at 1:08 PM, Ken Crocker <kfcrocker at lbl.gov> wrote:

>  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/98666cb6/attachment.htm>


More information about the rt-users mailing list