Page 1 of 1

Feature Request: configure when Mantis sends resolved emails

Posted: Jul 18, 2018 1:55 pm
by mushu
Would like to see a new config screen option to be able to easily edit when the RESOLVED email message is sent. Instead of hardcoding it in the bug_update.php file to send the email when value is greater than a certain status number, it should instead send when the status is in a certain group of values, and make that set user-definable in the setup screen. You can certainly supply a default set with initial program installation. This becomes an issue when people add new status codes and simply tack them on to the end of the existing set...

For reference see: viewtopic.php?f=3&t=25687

Re: Feature Request: configure when Mantis sends resolved emails

Posted: Jul 18, 2018 2:26 pm
by atrol
Feel free to open a feature request at

Implementing could become a challenge as there are already the two options bug_resolved_status_threshold and bug_closed_status_threshold for this that have to be considered / automatically migrated when upgrading existing installations.

I don't expect that someone of the core team will start implementing it in near future, so submitting a patch is always a good idea, as it increases the chances of improvement eventually making it into MantisBT core. All contributions are welcome and greatly appreciated.

Patch submissions can be made in several ways. In the order of preference:

1. Send us a Pull Request on our Github repository [1]
2. Attach a GIT patch to the issue
3. Attach a Unified Diff, clearly specifying the patch's base release

Kindly avoid to upload entire modified PHP files.

Please make sure that your submissions adhere to our Coding Guidelines [2], if they don't your patch might be rejected.

[2] ... guidelines