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:
Set(@Plugins, qw(RT::Action::MoveQueueBySubject));
or add RT::Action::MoveQueueBySubject to your existing @Plugins line.
RT::Action::MoveQueueBySubject
@Plugins
rm -rf /opt/rt4/var/mason_data/obj
To configure this scrip, set the @MoveQueueBySubjectConditions configuration option.
@MoveQueueBySubjectConditions
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 <falcone@bestpractical.com>
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
To install RT::Action::MoveQueueBySubject, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RT::Action::MoveQueueBySubject
CPAN shell
perl -MCPAN -e shell install RT::Action::MoveQueueBySubject
For more information on module installation, please visit the detailed CPAN module installation guide.