Hi!!
I am adding mantisconnect funtionality to our mantis environment, this is great! :D But I need some functionality I can't find.
I use a form that submits bugs using mantisconnect (they all use the same user in mantis). In this form is a custom field email that also shows up in Mantis.
When I add a note to the bug I need this to be mailed to the emailaddress as specified in the custom field "email"
Is this possible? It would really complete our mantis (connect) implementation.
Thx in advance,
Michiel
Send note to custom field email
Moderators: Developer, Contributor
Not 'out of the box'.
What I would suggest, however, is writing a custom issue action handler. Check out core/custom_function_api.php. Take for example the function custom_function_default_issue_create_notify(). It is called after an issue is created.
Now: in /custom_functions_inc.php you need to create a function that takes the same parameters and returns the errors as commented. That function needs to be called custom_function_override_issue_create_notify().
In that function, you should be able to write pretty much any action you wish to, which could obviously include 'emailing email addresses in custom field X'.
Now whenever an issue is created, your override function will be called and your emails will be sent.
Hope that helps...
Lincoln.
What I would suggest, however, is writing a custom issue action handler. Check out core/custom_function_api.php. Take for example the function custom_function_default_issue_create_notify(). It is called after an issue is created.
Now: in /custom_functions_inc.php you need to create a function that takes the same parameters and returns the errors as commented. That function needs to be called custom_function_override_issue_create_notify().
In that function, you should be able to write pretty much any action you wish to, which could obviously include 'emailing email addresses in custom field X'.
Now whenever an issue is created, your override function will be called and your emails will be sent.
Hope that helps...
Lincoln.