Thanks guys!<br><br>Ken,<br><br>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.<br>

<br>Thanks<br><br><div class="gmail_quote">On Wed, Dec 16, 2009 at 1:08 PM, Ken Crocker <span dir="ltr"><<a href="mailto:kfcrocker@lbl.gov">kfcrocker@lbl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">




  

<div bgcolor="#ffffff" text="#000000">
Juan<br>
<br>
We re-set the owner of a ticket when it moves to another Queue. This is
what we use:<br>
<br>
Condition: On Queue Change<br>
<br>
#----------------------------------------------------------------------------<br>
# Custom action preparation code:<br>
#----------------------------------------------------------------------------<br>
<br>
return 1;<br>
<br>
#----------------------------------------------------------------------------<br>
# Custom action cleanup code:<br>
#----------------------------------------------------------------------------<br>
# set new Ticket Owner value<br>
<br>
my $ticket = $self->TicketObj;<br>
<br>
$ticket->SetOwner(10, 'Force');<br>
<br>
return 1;<br>
<br>
<br>
Just modify it to change the ticket fields you want change and that
should do it.<br>
Hope this helps.<br>
<br>
Kenn<br>
LBNL<div><div></div><div class="h5"><br>
<br>
On 12/16/2009 6:45 AM, Juan N. DLC wrote:
</div></div><blockquote type="cite"><div><div></div><div class="h5">Hi,<br>
  <br>
Is it possible to have a scrip to modify the due date & priority of
a ticket each time is moved from queue to queue?<br>
  <br>
Thanks<br>
  </div></div><pre><hr width="90%" size="4"><div class="im">
_______________________________________________
<a href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users" target="_blank">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a>

Community help: <a href="http://wiki.bestpractical.com" target="_blank">http://wiki.bestpractical.com</a>
Commercial support: <a href="mailto:sales@bestpractical.com" target="_blank">sales@bestpractical.com</a>


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at <a href="http://rtbook.bestpractical.com" target="_blank">http://rtbook.bestpractical.com</a></div></pre>
</blockquote>
</div>

</blockquote></div><br>