Force users to set priority

Get help from other users here.

Moderators: Contributor, Developer

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

Force users to set priority

Post by NPK » Sep 11, 2018 6:14 pm

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: 7514
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Force users to set priority

Post by atrol » Sep 12, 2018 1:53 am

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