Page 1 of 1
Specifying workflow configuration for new custom fields
Posted: 21 Jun 2011, 00:32
by modest
I am using Mantis 1.1.8. I created a new custom value called "Suspended" in Status field and a new custom value called "Revisit Later" in the Resolution field. Now just like with the Default Mantis installation whenever an Issue's status is updated to "Resolved" (for example_..view.php?id=100), the value "fixed" is selected for the Resolution field (on the bug_change_status_page.php) by default.
I wanted to do something similar with my two custom fields i.e. Whenever user selects "Suspended" as the Status of the issue, the value "Revisit Later" gets selected for Resolution field (on the bug_change_status_page.php page).
How can I do that?
Re: Specifying workflow configuration for new custom fields
Posted: 23 Jun 2011, 16:15
by modest
Anyone???
Re: Specifying workflow configuration for new custom fields
Posted: 14 Jul 2011, 09:18
by fonnnnnn
if you not want to use "Resloved" and "fixed" again ?--> try to instead the name "Resolved" with "Suspended" and "fixed" with "Revisit Later"
in file ./lang/string_english.txt with the
$s_resolution_enum_string = '10:open,20:fixed,30:reopened,40:unable to reproduce,50:not fixable,60:duplicate,70:no change required,80:suspended,90:won\'t fix';
and $s_status_enum_string = '10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned,80:resolved,90:closed';
Re: Specifying workflow configuration for new custom fields
Posted: 14 Jul 2011, 09:23
by fonnnnnn
another solution , copy config in file "config_defaults_inc.php" these line.
/**
* Bug is resolved, ready to be closed or reopened. In some custom installations a bug
* may be considered as resolved when it is moved to a custom (FIXED or TESTED) status.
* @global int $g_bug_resolved_status_threshold
*/
$g_bug_resolved_status_threshold = RESOLVED;
/**
* Threshold resolution which denotes that a bug has been resolved and
* successfully fixed by developers. Resolutions above this threshold
* and below $g_bug_resolution_not_fixed_threshold are considered to be
* resolved successfully.
* @global int $g_bug_resolution_fixed_threshold
*/
$g_bug_resolution_fixed_threshold = FIXED;
and place in your config_inc.php and change want do you want.
good luck ^^