Too add a new workflow (stage) e.g Reopen does this require a lot of modifing to the code. Any help on this Issue would be great. Working off latest version. I know i need to define the new stage in constant.php & in strings_English php and also in config_defaults were else do i need to modify code. Is this a big change in Mantis..
Thank you.
Workflows
Moderators: Developer, Contributor
-
- Posts: 18
- Joined: 17 Feb 2006, 19:23
- Location: San Francisco, CA
Hi Shamie:
This is documented in the manual here:
http://manual.mantisbugtracker.com/manu ... values.php
But, just briefly you need to:
1)
Define a new constant for your new status in custom_constant_inc.php
[you may need to create this file if you haven't already, it doesn't exist by default]
example: define( 'QAV', 85 );
the numeric value you assign will determine where in the list of states
your new state falls. Check out core/constant_inc.php for the default list
2.) Add your new status to $g_status_enum_string: as above you can
get the current default value in config_defaults_inc.php on or about line 1265 and put the modified value in config_inc.php
3.) in custom_strings_inc.php [you mayneed to create this file if it doesn't
already exist] define the Label for the state, as well as a few auxilliary
titles, button labels etc. that Mantis will use when moving defects to your
new state -- see the above manual link for those details
4. )Finally, you can optionally define a 'workflow' that enforces which
states are accessible from which others -- the default is no workflow.
Hope that helps.
This is documented in the manual here:
http://manual.mantisbugtracker.com/manu ... values.php
But, just briefly you need to:
1)
Define a new constant for your new status in custom_constant_inc.php
[you may need to create this file if you haven't already, it doesn't exist by default]
example: define( 'QAV', 85 );
the numeric value you assign will determine where in the list of states
your new state falls. Check out core/constant_inc.php for the default list
2.) Add your new status to $g_status_enum_string: as above you can
get the current default value in config_defaults_inc.php on or about line 1265 and put the modified value in config_inc.php
3.) in custom_strings_inc.php [you mayneed to create this file if it doesn't
already exist] define the Label for the state, as well as a few auxilliary
titles, button labels etc. that Mantis will use when moving defects to your
new state -- see the above manual link for those details
4. )Finally, you can optionally define a 'workflow' that enforces which
states are accessible from which others -- the default is no workflow.
Hope that helps.