Page 1 of 1

Help changing the status with php or SQL

Posted: 11 May 2009, 13:26
by DaVinci
i need help with v.1.1.6
i've been using Mantis for over two years now and have customized it under way.
the last customization was the Status..
i only want to have three Status in Mantis:
[b]
New
Assigned
Closed[/b]

I've added the following line in config_inc.php:

[code]$g_status_enum_string =
'10:new,50:assigned,80:closed';[/code]

This resulted in that all the cases with Status listed below dissappeared from Mantis:
[b]feedback
acknowledged
confirmed
assigned
resolved[/b]

I want following:
- a code that will only show [b]'10:new,50:assigned,80:closed'[/b] in the Status menu
or
- an SQL that would change the status of all the cases [b]from resolved to close[/b], and rest to new

can someone please help me with this?