WITIWYG: What I Think Is What You Get


   

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.




Last modified: Tue Dec 11 20:33:48 EST 2007 by

Post time:07/31/2009 00:21 By:Guest (Guest)
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 :)

Post time:07/01/2009 03:50 By:vignesh (Guest)
Title: My 2 cents.
can we change the current statuses available to some other name? like acknowledge to open?

Post time:06/18/2009 08:42 By:Guest (Guest)
Title: My 2 cents.
Thanks, this was really helpful.