RT::Extension::PriorityAsString - show priorities in RT as strings instead of numbers
# in RT config Set(@Plugins, qw(... RT::Extension::PriorityAsString ...)); # Specify a mapping between priority strings and the internal # numeric representation Set(%PriorityAsString, (Low => 0, Medium => 50, High => 100)); # which order to display the priority strings # if you don't specify this, the strings in the PriorityAsString # hash will be sorted and displayed Set(@PriorityAsStringOrder, qw(Low Medium High));
*NOTE* that it only works with RT 3.8.3 and newer.
perl Makefile.PL make make install (may need root permissions) Edit your /opt/rt3/etc/RT_SiteConfig.pm (example is in synopsis above) rm -rf /opt/rt3/var/mason_data/obj Restart your webserver
Returns String: Various Ticket Priorities as either a string or integer
Copyright (C) 2008, Best Practical Solutions LLC.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Ruslan Zakirov <ruz@bestpractical.com>
To install RT::Extension::PriorityAsString, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RT::Extension::PriorityAsString
CPAN shell
perl -MCPAN -e shell install RT::Extension::PriorityAsString
For more information on module installation, please visit the detailed CPAN module installation guide.