Thank you for the advise Toby. Though I really do not have an idea on how to fire "On Status Change"
I plan to use it on a cron job in Perl as suggested earlier. If there's a way to run the "On Status Change" scrip on cron job, that will be good. If not, I need to check other methods. #!/usr/bin/perl my $cmd = '/usr/bin/rt list '; my $qry = $cmd . qq/\"priority = '199' AND due <= 'today'\"/; my @res = `$qry`; for (@res) { chomp; my $tic_sub = `/bin/echo $_ | /bin/cut -f2 -d":"`; my $tic_num = `/bin/echo $_ | /bin/cut -f1 -d":"`; system ("/usr/bin/rt edit 'ticket/$tic_num' set status=open"); # put here how to fire up on Status Change Scrip } Date: Mon, 27 Jul 2009 17:30:50 +0100 From: Toby Darling <darl...@ccdc.cam.ac.uk> Subject: Re: [rt-users] Auto-open Resolved Ticket To: "rt-users@lists.bestpractical.com" <rt-users@lists.bestpractical.com> Message-ID: <bbe4f13b964a4049ba644235410510be0804190...@mail01.ccdc.cam.ac.uk> Content-Type: text/plain; charset="us-ascii" Hi Roehl > Please confirm, if I understand your method correctly. > > 1. Instead of resolving the ticket, after getting my tasks done, put in > on stalled and set 'Due date' to next month. Correct. > 2. the cron job will re-open this ticket after a month. More accurately, it will reopen those tickets with due dates on, or before, 'today'. > If the ticket is re-open, will it send out notification? Not by default, I don't think, but you can create a scrip to fire On Status Change. Cheers Toby
_______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com