Additions to Status field?

I was under the impression that the Status field entries were from a text
file or from the database… but for the life of me I cannot find the
location of where the Status field comes from. I want to add to the Status
fields… where can I make these changes…

I hope it is right under nose and simply cannot find it…?

Look in RT_Config.pm
@ActiveStatus = qw(new open stalled) unless @ActiveStatus;
@InactiveStatus = qw(resolved rejected deleted) unless @InactiveStatus;
Roy

Phil wrote:

I was under the impression that the Status field entries were
from a text file or from the database… but for the life of
me I cannot find the location of where the Status field comes
from. I want to add to the Status fields… where can I make
these changes…

From RT_Config.pm:

{{{ Miscellaneous RT Settings

You can define new statuses and even reorder existing statuses here.

WARNING. DO NOT DELETE ANY OF THE DEFAULT STATUSES. If you do, RT

will break horribly.

@ActiveStatus = qw(new open stalled) unless @ActiveStatus;
@InactiveStatus = qw(resolved rejected deleted) unless @InactiveStatus;

}}}

Just make sure that the status name doesn’t exceed the field length for
that column in the Tickets table, which I believe defaults to 10
characters.

Eric Schultz
United Online

I knew it was under my nose… thanks…! I was looking in the html
directory of the share folder… didn’t think of the RT_COnfig file…
I should have looked there first!

Thanks guys!On 9/15/06, Schultz, Eric ESchultz@corp.untd.com wrote:

I was under the impression that the Status field entries were
from a text file or from the database… but for the life of
me I cannot find the location of where the Status field comes
from. I want to add to the Status fields… where can I make
these changes…

From RT_Config.pm:

{{{ Miscellaneous RT Settings

You can define new statuses and even reorder existing statuses here.

WARNING. DO NOT DELETE ANY OF THE DEFAULT STATUSES. If you do, RT

will break horribly.

@ActiveStatus = qw(new open stalled) unless @ActiveStatus;
@InactiveStatus = qw(resolved rejected deleted) unless @InactiveStatus;

}}}

Just make sure that the status name doesn’t exceed the field length for
that column in the Tickets table, which I believe defaults to 10
characters.

Eric Schultz
United Online


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com