We have recently upgrade to Confluence 4.3.7 and have changed the comment notification so that the email only notifies the user that a comment was made and none of the actual comment content comes through in the email notification. This is working fine, except in the case where the comment contains an @mention of a user in the comment itself. If that is done then the entire comment content comes through in the email. Is there any way to change the configuration so that the comment content does not get sent in the email notification no matter what the comment content contains?
Any help would be appreciated.
Hi James,
As far as I can see you cannot change this by configuration. There are some comment-added/edited/removed-notification.vm's which define the content of this notifications mails. You have to change the email templates in the confluence application core, because there is no check for any configuration within this templates.
Hope this helps, even it's not a real positive answer. ;)
Re to your comment:
Yes, you are right. Unfortunately the functionality of mentions managed by an extra system plugin "Confluence Mentions". Within this Plugin, you can find the html-email-notification-template.vm defining the mail content.
We tried to modify that jar file in 5.0.2 and re-install via UPM, was working fine.
In 5.3, we used the same method and the mention function breaks. Either no email received for any mention made or the Notification/Task list fails to load.
Anybody has the same experience?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mirko, THANK YOU for your prompt response! Please tell me how to find and edit this file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
... now a little bit later. ;)
You can find the plugin in you confluence setup file, search for atlassian-bundled-plugins.zip and within for confluence-mentions-plugin-*.jar. It's a zip compressed file, you can open and edit the template file html-email-notification-template.vm (addionally it's a good idea to change the plugin version). After that install the modified plugin via the UPM in the Confluence administration. I havn't tested it. Be careful, because it's a system plugin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reponse Mirko. We have already edited and created customized email templates as you have suggested. These customized email templates work fine be we need the information about the email templates used for the @Mention to be customized as well.
So far Atlassian Support has not been willing to provide details about how to customize these 'hidden' email templates.
We would appreciate any recommendations from the user community.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, you are right. Unfortunately the functionality of mentions managed by an extra system plugin "Confluence Mentions". Within this Plugin, you can find the html-email-notification-template.vm defining the mail content.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.