RT::Action::SetPriorityFromHeader - Set ticket priority from an email header of your choosing
May need root permissions
Only run the first time you install this action.
Add this line:
Set(@Plugins, qw(RT::Action::SetPriorityFromHeader));
or add RT::Extension::SetPriorityFromHeader to your existing @Plugins line.
RT::Extension::SetPriorityFromHeader
@Plugins
You also need to configure the email header to use and a mapping from the email header values to RT priority values.
Set($PriorityHeader, 'X-Priority'); Set(%PriorityMap, highest => 1, high => 2, normal => 3, low => 4, lowest => 5); # With the above, a header like "X-Priority: high" would set the RT ticket priority to 2
rm -rf /opt/rt4/var/mason_data/obj
Thomas Sibley <trs@bestpractical.com>
This software is copyright (c) 2011 by Best Practical Solutions.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install RT::Action::SetPriorityFromHeader, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RT::Action::SetPriorityFromHeader
CPAN shell
perl -MCPAN -e shell install RT::Action::SetPriorityFromHeader
For more information on module installation, please visit the detailed CPAN module installation guide.