[rt-users] Auto-open Resolved Ticket

rmp dmd rmp.dmd1229 at gmail.com
Fri Jul 24 11:00:41 EDT 2009


Hi Toby,

Thanks for this.
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.
2. the cron job will re-open this ticket after a month.

If the ticket is re-open, will it send out notification?

im doing the rt-list -i "status = 'stalled' AND due <= 'today'"
on a command line but it's asking me for a password.
is my syntax correct?


Thanks!
Roehl



On Fri, Jul 24, 2009 at 5:08 AM, Toby Darling <darling at ccdc.cam.ac.uk>wrote:

> Hi Roehl
>
> > - I resolved a ticket Subject: Windows Patches or Subject: get and
> > renew certificates
> > - I'll do it again after a month.
> > - RT will re-open this ticket after a month.
>
> I use the Due date field with a stalled status, and have a daily cron job:
>
> #!/usr/bin/perl
> my $cmd = '/usr/bin/rt list -i ';
> my $qry = $cmd . qq/\"status = 'stalled' AND due <= 'today'\"/;
> my @res = `$qry`;
> for (@res) {
>    chomp;
>     system ("/usr/bin/rt edit $_ set status=open");
> }
>
> I'm sure someone will be along shortly with an rt_crontool solution, or
> something RESTful.
>
> Cheers
> Toby
>
>
> LEGAL NOTICE
> Unless expressly stated otherwise, information contained in this
> message is confidential. If this message is not intended for you,
> please inform postmaster at ccdc.cam.ac.uk and delete the message.
> The Cambridge Crystallographic Data Centre is a company Limited
> by Guarantee and a Registered Charity.
> Registered in England No. 2155347 Registered Charity No. 800579
> Registered office 12 Union Road, Cambridge CB2 1EZ.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090724/c65bfc51/attachment.htm>


More information about the rt-users mailing list