Force users to set priority

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
NPK
Posts: 3
Joined: 07 Sep 2018, 07:36

Force users to set priority

Post by NPK »

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!
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Force users to set priority

Post by atrol »

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
Please use Search before posting and read the Manual
Post Reply