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
How to make Severity,Priority fields mandatory
Moderators: Developer, Contributor
Re: How to make Severity,Priority fields mandatory
You have to write a custom validation function custom_function_override_issue_create_validate
http://docs.mantisbt.org/master/en/admi ... CS.EXAMPLE
http://docs.mantisbt.org/master/en/admi ... CS.EXAMPLE
Re: How to make Severity,Priority fields mandatory
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.
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
custom_functions_inc.phpnourdine wrote:Please where to put this code in order to change default values which are not mandatory to mandatory,
You don't have to modify code, you have to write your own codenourdine wrote:why we must modify a code