Is there a way of adding to or changing the default status? We’d like to
have ‘testing’ ‘pending’ and a few others, and I’ve not easily found a way
of tackling this one.
Is there a way of adding to or changing the default status? We’d like to
have ‘testing’ ‘pending’ and a few others, and I’ve not easily found a way
of tackling this one.
Wow … that was fast!
Bruce Segal pointed me to:
$RT_DIR/lib/RT/Queue_Overlay.pm, where @ACTIVE_STATUS = qw(new open
stalled);
You can add your custom status(es) there.
If they’re active, you’ll also need to modify:
$RT_DIR/share/html/Elements/QuickSearch
- a bit complicated. depending on how you want them displayed. I decided
to treat testing and pending as open, and so:
$Tickets->LimitStatus(VALUE => “open”); - $Tickets->LimitStatus(VALUE => “pending”);
- $Tickets->LimitStatus(VALUE => “testing”);
and changed
<%$queue->Name%>to
<%$queue->Name%>and changed
<%$open%>to
<%$open%>$RT_DIR/share/html/Elements/MyTickets
$MyTickets->LimitStatus(VALUE => “open”);
$MyTickets->LimitStatus(VALUE => “new”);
- $MyTickets->LimitStatus(VALUE => “pending”);
- $MyTickets->LimitStatus(VALUE => “testing”);
$RT_DIR/share/html/Elements/MyRequests
$MyTickets->LimitStatus(VALUE => “open”);
$MyTickets->LimitStatus(VALUE => “new”);
- $MyTickets->LimitStatus(VALUE => “pending”);
- $MyTickets->LimitStatus(VALUE => “testing”);
And it all seems to be hunky-dory.