[rt-users] PErl question for RT Status values

Ken Crocker kfcrocker at lbl.gov
Mon Feb 1 16:50:48 EST 2010


Kevin,

Thanks.

Kenn
LBNL

On 2/1/2010 12:46 PM, Kevin Falcone wrote:
> On Mon, Feb 01, 2010 at 11:45:31AM -0800, Ken Crocker wrote:
>   
>> To list,
>>
>> In the past (3.6.4) I was able to add a couple values for my @active 
>> ticket statuses by modifying the RT_SiteCOnfig.pm values thus:
>>
>> @ActiveStatus = ('new', 'open', 'pending QA', 'QA approvd', 'stalled') 
>> unless @ActiveStatus;
>>
>> Now, with the more stringent syntax, I have this:
>>
>> Set(@ActiveStatus, (qw(''new' 'open' 'pending QA' 'QA approvd' 'stalled')));
>>     
>
> perldoc -f qw will tell you more about what it does (and why it is
> huring yout)
>
> Just do
>
> Set(@ActiveStatus, ('new', 'open', 'pending QA', 'QA approvd', 'stalled'));
>
> -kevin
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
> 2010 RT Training Sessions!
> San Francisco, CA, USA - Feb 22 & 23
> Dublin, Ireland - Mar 15 & 16
> Boston, MA, USA - April 5 & 6
> Washington DC, USA - Oct 25 & 26
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100201/f4321198/attachment.htm>


More information about the rt-users mailing list