Hi,
I use Mantis 2.17 and I would like to force users to set priority. I have a lot of issues marked as 'normal' priority because it's the default choice. So, I don't know if the user has set this level of priority, or if the user don't see the field and hasn't set level.
For sure I can set a "undefinied" option in the field, but I fear to have a lot of "undefined" priorities in my issues because people don't pay attention to it.
I would like to have a default blank option as mandatory field : if the user don't clearly set priority, he can't submit his issue.
Is it possible?
Thanks!
Force users to set priority
Moderators: Developer, Contributor
Re: Force users to set priority
You can write a custom function
https://www.mantisbt.org/docs/master/en ... ustomfuncs
Check the one with description "Validate field settings before creating an issue"
Another option is to write a plugin that hooks event EVENT_REPORT_BUG_DATA
https://www.mantisbt.org/docs/master/en ... entref.bug
https://www.mantisbt.org/docs/master/en ... ustomfuncs
Check the one with description "Validate field settings before creating an issue"
Another option is to write a plugin that hooks event EVENT_REPORT_BUG_DATA
https://www.mantisbt.org/docs/master/en ... entref.bug