Re: [rt-users] Scrip to auto-resolve a ticket based on subject

2009-07-31 Thread David Hooton
Terence, > It benefits the community if you reply/Cc to the list. Apologies - I didn't hit reply all. I have it working now, that wiki article helped me find my errors. For others future reference here's what I wound up with: Description: Auto Close Successful Backups Condition: On Creat

Re: [rt-users] Scrip to auto-resolve a ticket based on subject

2009-07-31 Thread Terence Monteiro
It benefits the community if you reply/Cc to the list. On Fri, Jul 31, 2009 at 08:25:59PM +1000, David Hooton wrote: > Thank you for your help Terrence.. That would be Terence with a single r. > So I've fixed the escaping, thankyou! > > I don't understand this however: > > " Also, Perl return

Re: [rt-users] Scrip to auto-resolve a ticket based on subject

2009-07-31 Thread Terence Monteiro
On Fri, Jul 31, 2009 at 06:07:37PM +1000, David Hooton wrote: > Hi all, > > So far I've created a scrip in our Backup queue which looks like this: > > my $match = "Backup Report [Successful]"; First the square brackets have to be escaped. You want "Backup Report \[Successful\]" > my $t_sub

[rt-users] Scrip to auto-resolve a ticket based on subject

2009-07-31 Thread David Hooton
Hi all, We get backup reports sent to our RT every night and we need to have them stored in the helpdesk, however we would like to resolve all tickets immediately which arrive for jobs that complete successfully, so that we only see the reports which require action, but can still search on the