Using mantis 1.0.7
I've been searching for the past few hours and I can't find any info on how to require a user to always enter in a bugnote when changing a status. I know I can do something like this for custom fields, but is there a way to do this for the bugnote field?
Help with requireing a user to enter a bugnote
Moderators: Developer, Contributor
No I don't think so.
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
You should be able to do it with a custom function (see manual
http://www.mantisbugtracker.com/manual/ ... nction.php
)
You can use the same idea as that function, but put in a custom for the status changes into custom_functions_inc.php
(name will be something like
custom_function_default_issue_update_validate( $p_issue_id, $p_new_bug, p_bug_note_text )
and just check that the p_bug_note_text has some data in it
http://www.mantisbugtracker.com/manual/ ... nction.php
)
You can use the same idea as that function, but put in a custom for the status changes into custom_functions_inc.php
(name will be something like
custom_function_default_issue_update_validate( $p_issue_id, $p_new_bug, p_bug_note_text )
and just check that the p_bug_note_text has some data in it