Feature Request: configure when Mantis sends resolved emails

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
mushu
Posts: 349
Joined: 04 Jan 2017, 17:41

Feature Request: configure when Mantis sends resolved emails

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

Re: Feature Request: configure when Mantis sends resolved emails

Post by atrol »

Feel free to open a feature request at https://mantisbt.org/bugs

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.

[1] https://github.com/mantisbt/mantisbt
[2] http://www.mantisbt.org/wiki/doku.php/m ... guidelines
Please use Search before posting and read the Manual
Post Reply