X-Priority
Jump to navigation
Jump to search
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)}