X-Priority

From Request Tracker Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

X-Priority

Below is example code you might include in your Correspondence, Comment and Transaction tickets to help your users ascertain which messages to read. It assumes you use to the full range of priorities (0--100), and messages without priorities (negative values) default to '3' (Normal).

X-Priority: {my $p=$Ticket->Priority; $p=50 if $p<0; 6-(int(($p/20)+.5)||1)}