Customizing the Resolution field according to states
Posted: 02 Aug 2013, 08:13
Hello everyone,
I am trying to customize the Resolution field according to states of the bug. For example it will have different modules when the bug is new then it has when it is assigned to. To do that, I changed mantis\config_inc.php and I added;
$g_resolution_enum_workflow[NEW_]='10:open';
$g_resolution_enum_workflow[ASSIGNED]='20:fixed,40:unable to duplicate,70:not a bug,90:won\'t fix';
$g_resolution_enum_workflow[REFUSED]='30:reopened,40:unable to duplicate,70:not a bug,90:won\'t fix';;
$g_resolution_enum_workflow[CLOSED]='';
$g_resolution_enum_workflow[CHECK]='20:fixed,30:reopened';
$g_resolution_enum_workflow[ACKNOWLEDGED]='';
$g_resolution_enum_workflow[RESOLVED]='';
$g_resolution_enum_workflow[CONFIRMED]='';
but nothing has changed, can you please tell me where I am wrong ?
Thanks a lot
I am trying to customize the Resolution field according to states of the bug. For example it will have different modules when the bug is new then it has when it is assigned to. To do that, I changed mantis\config_inc.php and I added;
$g_resolution_enum_workflow[NEW_]='10:open';
$g_resolution_enum_workflow[ASSIGNED]='20:fixed,40:unable to duplicate,70:not a bug,90:won\'t fix';
$g_resolution_enum_workflow[REFUSED]='30:reopened,40:unable to duplicate,70:not a bug,90:won\'t fix';;
$g_resolution_enum_workflow[CLOSED]='';
$g_resolution_enum_workflow[CHECK]='20:fixed,30:reopened';
$g_resolution_enum_workflow[ACKNOWLEDGED]='';
$g_resolution_enum_workflow[RESOLVED]='';
$g_resolution_enum_workflow[CONFIRMED]='';
but nothing has changed, can you please tell me where I am wrong ?
Thanks a lot