[rt-users] Create a scrip in RT 4

Howell, Van van.howell at lcu.edu
Thu Mar 22 16:58:57 EDT 2012


I am very new to RT, We are running on RT 4.0.5
I have OpenNMS setup to notify RT using the RT notification module in OpenNMS. It is working great.
All of my OpenNMS notifications are created in a single queue called NMS.
I want to be able to redirect those tickets to different queues based on the subject line.

I have no Idea what I am doing.
Could someone help me with some sample code and how to implement it in RT4?

Say for instance I receive a ticket from OpenNMS with the subject line that contains the words "Paper Jam"
I want this to go to my queue called "Printer/Copier/Scannner"

How would I set this up in RT 4

Here is an example of a ticket that came from OpenNMS.

Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
MIME-Version: 1.0
X-Mailer: MIME-tools 5.502 (Entity 5.502)
From: opennms at lcu.edu
Subject: Paper Jam
Content-Length: 56

There is Paper jamed in the copier/printer: Copy Rm 6030


Van Howell
System Administrator
Lubbock Christian University

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120322/acb56d6f/attachment.htm>


More information about the rt-users mailing list