I want to add a custom status to Mantis Bug tracker called "On Hold". Following some blogs I found online, I added the following lines to config_local.php:
$g_status_enum_string = '10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned,55:onhold,80:resolved,90:closed';
$g_status_colors['onhold'] = '#cceedd';
$s_status_enum_string = '10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned,55:onhold,80:resolved,90:closed';
However, when I go to assign this status to a bug, it displays as @55@ in the drop down.
Any ideas why this might be?
See the Mantis reference on customising status values:
Define a constant to map the new status to.In a new file custom_constants_inc.php in the main mantisbt directory:
<?php define ( 'TEST', 60 ); ?>
Define the language strings required. This may need to be defined in several languages.In a new file custom_strings_inc.php in the main mantisbt directory:
Define any configurations required.In the existing file config_inc.php in the main mantisbt directory:
Add the status to any workflow defined in config_inc.php.