[rt-users] Scrip to move new ticket into correct queue
Werner Morgenstern
wmorgenstern at coopoptical.com
Wed Jun 23 11:27:08 EDT 2004
So what is the object name for the Email Subject and Body (only first line)?
How do I determine between if the ticket was added via email or Web
Interface?
Thanks
Werner
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.
-----Original Message-----
From: Ruslan U. Zakirov [mailto:cubic at acronis.ru]
Sent: Wednesday, June 23, 2004 11:17 AM
To: wmorgenstern at coopoptical.com
Cc: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] Scrip to move new ticket into correct queue
Werner Morgenstern wrote:
> Hi,
> We use RT 3.0.11 with fastcgi, Perl 5.8.0, Apache 2.0.48, on Fedora Core
2.
>
> I have set up the mailgate (which works very well). It sents all new
> tickets (which come in via email) to the GENERAL Queue.
> Now I want to set up a scrip (or condition), that when a new ticket
> comes in via email (it won't be needed for the Web Interface), the
> scrip will scan the email (subject and maybe first line of body) for
> certain keywords, and then it will put the new ticket into the queue
associated with that Keyword.
> E.g. when a Ticket comes in, that email is not working, it will go
> into the queue EMAIL PROBLEMS.
>
> How do I do that? Are there examples?
http://wiki.bestpractical.com/index.cgi?WriteCustomAction
Code snippets chapter has an example "Change ticket's queue with target
queue name"
Keywords checks you can do with simple regexps.
>
> Thanks
> Werner Morgenstern
>
More information about the rt-users
mailing list