Page 1 of 1

How to make Severity,Priority fields mandatory

Posted: 09 Apr 2011, 04:48
by lshankar_mca
Hi,

I want to make Severity, Priority fields as mandatory fields while reporting an bug.
Please help me in how to make the above fields mandatory.

Thanks in advance.

Shankar.L

Re: How to make Severity,Priority fields mandatory

Posted: 11 Apr 2011, 20:11
by atrol
You have to write a custom validation function custom_function_override_issue_create_validate
http://docs.mantisbt.org/master/en/admi ... CS.EXAMPLE

Re: How to make Severity,Priority fields mandatory

Posted: 04 Aug 2011, 14:43
by nourdine
Hi

Please where to put this code in order to change default values which are not mandatory to mandatory, why we must modify a code, there is no option to activate on UI, I think it is very logique.

Re: How to make Severity,Priority fields mandatory

Posted: 07 Aug 2011, 11:55
by atrol
nourdine wrote:Please where to put this code in order to change default values which are not mandatory to mandatory,
custom_functions_inc.php
nourdine wrote:why we must modify a code
You don't have to modify code, you have to write your own code