RT-Action-MoveQueueBySubject - Move Tickets between queues based on Subject
May need root permissions
Only do this during the intial install. Running it twice will result in duplicate Scrip Actions.
Add this line:
RT::Action::MoveQueueBySubject to your existing
rm -rf /opt/rt4/var/mason_data/obj
To configure this scrip, set the
@MoveQueueBySubjectConditions configuration option.
It is a list of regular expressions and queues. Each regular expression will be check in order, if it matches the ticket will be moved to that queue and processing will stop.
Set(@MoveQueueBySubjectConditions, '^begin', 'Start', 'end$', 'Finale', );
You can defined these as qr// if you prefer. The module does not apply any flags to your regular expression, so if you want case insensitivity or something else, be sure to use the (?i) operator which you can read more about in perlre.
Once you've configured the action, set up a Scrip to use it. At the Global or Queue level, define a Scrip with your preferred Condition (On Create is typical), this Action and a Blank Template.
Kevin Falcone <firstname.lastname@example.org>
All bugs should be reported via http://rt.cpan.org/Public/Dist/Display.html?Name=RT-Action-MoveQueueBySubject or bug-RT-Action-MoveQueueBySubject@rt.cpan.org.
This software is Copyright (c) 2011 by Best Practical Solutions.
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991