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.
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.
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.
... 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.
Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time! We're looking for people to participate in a remote 1-hr workshop...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs