[Rt-users] Custom Statuses

Linda Julien julien at bestpractical.com
Thu Apr 15 16:14:34 EDT 2004


Hi Kelly,

   Date: Thu, 15 Apr 2004 12:23:28 -0500
   From: "Kelly F. Hickel" <kfh at mqsoftware.com>

   > There's a pair of arrays in RT/Queue_Overlay.pm that define the
   statuses
   > supported by RT. The default scrips and user interface do assume that
   > you haven't removed any of the shipping statuses.
   > 
   Jesse, Do I understand you to be saying that I should be able to ADD
   status values to the pair of arrays mentioned above (as long as I don't
   change the existing ones, or their relative position), and things should
   "work"????  That would be "huge"...

Yes, you could do exactly that, if you choose to go that route.

You can create yourself a Queue_Local.pm file, and you can override
those arrays, like this:

# Queue_Local.pm
@ACTIVE_STATUS = qw(new open stalled my_other_status);
@INACTIVE_STATUS = qw(resolved rejected deleted yet_another_status);
@STATUS = (@ACTIVE_STATUS, @INACTIVE_STATUS);

1; # the file needs to end with this

Good luck,
Linda



More information about the rt-users mailing list