Does anyone out there have patches to color tickets based on priority?
I know that the flexibility of RT hurts us here, as with keystone (where
I am getting the idea from) the priorities are set for you, with 10 low
and 1 high. Here is a screenshot of what I am talking about.
http://keystone.whitepj.net/images/screencap-slipchildren.gif
This is linked to from
http://keystone.whitepj.net/screenshots.html
The screenshots there don’t really do my suggestion justice. I can bare
my soul, so look at http://www.myinternetplace.net/~rob/pix/keystone/
for the main shot of a keystone install we are using for home.
Also, if anyone wants to get a keystone account there, just let me
know. I trust you all enough to use it for the betterment of RT.
rob
Rob Walker:
Does anyone out there have patches to color tickets based on priority?
Yes. I’ll dig out a diff on Monday.
… though the Japanese must be the most stupid people… I’m sure I
read somewhere that Tokyo has the densest population in the world…
- Gid Holyoake, sdm.
Rob Walker:
Does anyone out there have patches to color tickets based on priority?
I know that the flexibility of RT hurts us here, as with keystone (where
I am getting the idea from) the priorities are set for you, with 10 low
and 1 high. Here is a screenshot of what I am talking about.
Here we use priorities from 1 to 100, with 90-100 as “urgent” and
95-100 as “critical”. The patch is relatively self-explanatory,
and it should be easy enough to work out how to change the scale and
add more colours.
==== //systems/src/rt/webrt/Search/Listing.html#4 (xtext) ====
Index: src/rt/webrt/Search/Listing.html
— src/rt/webrt/Search/Listing.html.~1~ Fri Mar 1 10:33:44 2002
+++ src/rt/webrt/Search/Listing.html Fri Mar 1 10:33:44 2002
@@ -54,7 +54,13 @@
$session{‘tickets’}->RedoSearch();
while (my $Ticket = $session{‘tickets’}->Next) {
$i++;
- if ($i % 2) {
+ if ($Ticket->Priority >= 96) {
+ $bgcolor = “#ff2222”;
+ }
+ elsif ($Ticket->Priority >= 90) {
+ $bgcolor = “#ff7777”;
+ }
+ elsif ($i % 2) {
$bgcolor = “#dddddd”;
}
else {
End of Patch
Skud’s Law: The surreality of the universe tends toward a maximum.
Hello,
I would like to color tickets based on their priority.
I found some postings and hacks about it in the archive but this
solution handles an old version of RT and is a hack for the file
Search/Listing.html which does not exist in my RT 3.4.1.
Any suggestions?
Thanks,
David
Perhaps you could look at this and modify it to show your priorities in
color.
http://wiki.bestpractical.com/index.cgi?ShowStatusInColor
Obando, David DE - EV wrote:
Hello,
I would like to color tickets based on their priority.
I found some postings and hacks about it in the archive but this
solution handles an old version of RT and is a hack for the file
Search/Listing.html which does not exist in my RT 3.4.1.
Any suggestions?
Thanks,
David
The rt-users Archives
Be sure to check out the RT Wiki at http://wiki.bestpractical.com
Drew Barnes
Applications Analyst
Raymond Walters College
University of Cincinnati