[rt-users] Create a scrip in RT 4
Howell, Van
van.howell at lcu.edu
Fri Mar 23 11:01:20 EDT 2012
Let me see if I understand how this custom action works.
Do I edit the file /opt/rt4/local/plugins/RT-Action-MoveQueue By Subjec/Lib/RT/Action/MoveQueueBySubject.pm
Changing ...
Set(@MoveQueueBySubjectConditions,
'^begin', 'Start',
'end$', 'Finale',
);
To look for the string I want, like...
Set(@MoveQueueBySubjectConditions, gr /Paper Jam/i );
I set the variable $queue to the queue I want it to go to?
My $queue = 'Printer/Copier/Scanner'
Or the queue number...
My $queue = 6
Van Howell
System Administrator
Lubbock Christian University
-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Kevin Falcone
Sent: Thursday, March 22, 2012 4:43 PM
To: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] Create a scrip in RT 4
On Thu, Mar 22, 2012 at 08:58:57PM +0000, Howell, Van wrote:
> 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"
I'd probably use
http://search.cpan.org/~falcone/RT-Action-MoveQueueBySubject-0.01/
-kevin
More information about the rt-users
mailing list