Adding a new Issue Status type - clear instructions please ?

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
mikewhit
Posts: 20
Joined: 18 Feb 2005, 10:40
Location: Shropshire UK

Adding a new Issue Status type - clear instructions please ?

Post by mikewhit »

Is there a 'clean' writeup about adding a new issue status ?

I have tried the approach in the manual.mantisbt page, but since there is conflicting/incomplete advice, it's not clear exactly what has to be done.

This page should be scrapped and rewritten correctly - an uncorrected manual page should not rely on user comments below.

e.g. is the custom_strings_inc.php in the mantis dir or in the mantis/lang dir along with the strings_xxx.txt ?

a) which are the files to update or add (name and dir) ?
b) what are the lines to be added/variables to be defined ?

I have tried adding a new status with numeric value '52' - the status change page has no text on the button or form, the Change Status dropdown gives the status as '@52@' rather than the text I have in my custom_strings_inc.php.

I have
1) added to $g_status_enum_string in my mantis/config_inc.php
2) 'define(XXX, 52)'d a new value in mantis/core/custom_constant_inc.php
3) defined $s_status_enum_string, $s_xxx_bug_title, $s_xxx_bug_button, $s_email_notification_title_for_status_bug_xxx, $s_email_notification_title_for_action_bug_xxx
in mantis/core/custom_strings_inc.php

but only get the @52@ in the dropdown, and empty text in the change status page.
thraxisp
Developer
Posts: 509
Joined: 14 Feb 2005, 03:38
Location: Ottawa, Canada
Contact:

Post by thraxisp »

2) 'define(XXX, 52)'d a new value in mantis/core/custom_constant_inc.php
The custom constant file is "mantis/custom_constant_inc.php".

We are looking into a bettwe way to capture the manual, and could always use some help in this area.
Post Reply