[rt-users] Scrip to move new ticket into correct queue
Ruslan U. Zakirov
cubic at acronis.ru
Wed Jun 23 11:16:40 EDT 2004
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