Is it possible to restrict the possible choices in the status drop down based on what the resolution is?
example, you can't Close an issue if the resolution is Open.
Edit: Mantis Version: 1.0.6
Status restrictions based on Resolution
Moderators: Developer, Contributor
Status restrictions based on Resolution
Last edited by evicente on 13 Mar 2007, 07:38, edited 1 time in total.
Is it possible to put in the value of a Resolution in the "[ ]" part of the "$g_status_enum_workflow[NEW_]" code?ed wrote:Have a look at $g_status_enum_workflow in config_defaults_inc.php and then add what you would like to config_inc.php.
I've read the code but it seems that the code only determines what possible statuses you can go to from the current status the issue is set to.
I want the Resolution to determine what status can be set on an issue.
you may be able to do what you are after with a custom function:
http://www.mantisbt.org/manual/manual.c ... ctions.php
the resolution of a bug is stored in mantis_bug_table
http://www.mantisbt.org/manual/manual.c ... ctions.php
the resolution of a bug is stored in mantis_bug_table