David,<br><br>Try this:<br><br>Description: On Correspond Update Due<br>Condition: On Correspond<br>Action: User Defined<br>Template: Global: Blank<br>Stage: TransactionBatch<br><br>Custom Action Prep Code:<br><br>my $trans = $self->TransactionObj;<br>
my $ticket = $self->TicketObj;<br>my $Due = new RT::Date( $self->CurrentUser );<br> <br># Add 5 days to Due Date<br><br>$Due->SetToNow();<br>$Due->AddDays( 5 );<br>$ticket->SetDue( $Due->ISO );<br><br>return 1;<br>
<br>Custom Action Cleanup Code:<br>
<br>
return 1;<br><br>Hope this helps.<br><br>Kenn<br>LBNL<br><br><div class="gmail_quote">On Thu, Feb 3, 2011 at 8:17 AM, David Gibbs <span dir="ltr"><<a href="mailto:david@midrange.com">david@midrange.com</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;">Folks:<br>
<br>
Can anyone recommend a Scrip or extensions that will allow me to automatically advance the due date on a ticket when it's replied to?<br>
<br>
I would like to advance the due date to 5 days from the time it's replied to automatically.<br>
<br>
Thanks!<br>
<br>
david<br>
<font color="#888888"><br>
--<br>
IBM i on Power Systems - For when you can't afford to be out of business<br>
<br>
</font></blockquote></div><br>