Custom Bug Status in Mantis
We wanted to add the statuses testedDev and testedTest (meaning, it was tested on dev, or tested on test) with 'closed' menaing it was tested on production and thus closed.
Go into the mantis dir:
cd /usr/share/mantis/gui/
Edit config_inc.php, and add to it (in the php block):
$g_status_enum_string = '10:new,20:feedback,30:acknowledged,50:assigned,80:resolved,81:testedDev,82:testedTest,90:closed'; $g_status_colors['testedDev'] = '#ACE7AE'; $g_status_colors['testedTest'] = '#CEF9CF';
create the file custom_constant_inc.php (/usr/share/mantis/gui/) <?php define ( 'testedDev', 82 ); define ( 'testedTest', 81 ); ?>
create the file custom_strings_inc.php (/usr/share/mantis/gui/)
<?php $s_status_enum_string = '10:new,20:feedback,30:acknowledged,50:assigned,80:resolved,81:testedDev,82:testedTest,90:closed'; ?>
That's it, the new statuses will be abailable in Mantis.

Back to top
Title: cannot see the custom files in my mantis dir
Hi,
I need to add a new status value in mantis and followed the above given procedure, but i cannot see those custom files in my mantis/gui directory. could u ppl pls help
Thanks in Advance :)
Title: My 2 cents.
can we change the current statuses available to some other name? like acknowledge to open?
Title: My 2 cents.
Thanks, this was really helpful.