Page 1 of 1

custom_function_default_issue_update_notify (1.0.0rc5)

Posted: 13 Mar 2006, 16:56
by liphos
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

Posted: 13 Mar 2006, 17:09
by liphos
Just found Mantis bug 6830 which happened to be reported just today and seems pretty much like what I want.

Posted: 13 Mar 2006, 21:53
by Darkness
You might have to take a deeper look at this.
I think there are some actions that don't thrigger this update_notify.

One thing that was suspicious is when you assign an issue to someone (though this could have been a local problem)