Hello,
I'm currently working on integrating Mantis 1.0.0rc5 and a ticket system (RT) with both systems communicating via e-mail. I figured there's two ways of having Mantis fire off an e-mail to the other system whenever a bug changes:
- Have a dummy user that's automagically added as monitor to every bug and fiddle with Mantis' e-mail format on the receiving side
- Use the custom_function_default_issue_update_notify($p_issue_id) hook in custom_functions_api.php and send my own mail via email_api.php:email_send(...)
The latter seems to be much cleaner and more flexible, especially because I can customize the e-mail format for easy parsing.
My problem now is that custom_function_default_issue_update_notify(..) doesn't seem to get called when a note gets added to a bug, which is a real concern for me, as I need that information to be communicated to the other system.
Is there any way to have custom_function_default_issue_update_notify get called every time something about a bug changes?
Regards,
Liphos
custom_function_default_issue_update_notify (1.0.0rc5)
Moderators: Developer, Contributor
Just found Mantis bug 6830 which happened to be reported just today and seems pretty much like what I want.