I tried this code but it only works if the user is a super user -> does not work for regular/priviledged user accounts.
Under Global-> Group Rights -> Everyone
I have set the current rights to:
Next, I’ve given specific rights to groups & queues. Do you have any idea why it does not work? Thanks for your time.
IrisFrom: Rick Russell [mailto:firstname.lastname@example.org]
Sent: Wednesday, June 22, 2005 3:37 PM
To: Brookes, Iris; email@example.com
Subject: Re: [rt-users] New ticket created as resolved
I would like a specific email notification sent when a new ticket has
been created as resolved so I’ve implemented the code found at:
I had an easier time using a custom template rather than a scrip. The
template is activated on ticket create. If the status is new, open or
stalled it inserts some text. If the status is resolved, it inserts
different text. I’ve appended the template below; have a look. There may
be some odd EOL characters when my mailreader wraps the text.
Obligatory disclaimer: I grew up programming BASIC and Pascal. It shows.
Template Autoreply (Conditional):
if ( ($Ticket->Status eq ‘new’) || ($Ticket->Status eq ‘open’) ||
($Ticket->Status eq ‘stalled’) )
“Thank you for submitting a request regarding:
Your request has been assigned ticket number [".$rtname."
Please include [".$rtname." #".$Ticket->id()."] in the Subject line
of all correspondence about this request for help. A copy of your
request is included below for your reference.
elsif ($Ticket->Status eq ‘resolved’)
“Thank you for contacting the Information Technology Help Desk.
For record-keeping purposes, we have assigned a ticket number
to your request: [”.$rtname." #".$Ticket->id()."]
Since we resolved your problem during our conversation, you
will not receive further e-mails about this issue. If you
have any questions or comments, please contact us at xHELP
(x4357, 713-348-4357) or firstname.lastname@example.org and we will be
happy to assist you.
A copy of your request is included below for your reference.
You may review this request at
Rice University, Information Technology
For computer help, call xHELP (x4357 or 713-348-4357)
On the web: http://helpdesk.rice.edu/
Helpdesk Supervisor, Client Services
IT/Academic & Research Computing
Voice: 713.348.5267 Fax: 713.348.6099
OpenPGP/GnuPG Public Key at ldap://certificate.rice.edu
761D 1C20 6428 580F BD98 F5E5 5C8C 56CA C7CB B669