Customising email notifications
FishEye has a "watch" notification system that sends email notifications to users when commits are detected. Users can opt in for these notifications by "watching" a particular repository/activity stream.
Email notifications in FishEye can be customised to change their formatting, by editing template files. This page contains instructions for this process.
Editing FishEye email templates
Template files for FishEye are stored in the
<FishEye home directory>/template/fisheye and
<FishEye home directory>/template/shared folders.
There are sets of templates for both HTML and plain-text emails, as listed in the table below. Note that these templates do not support embedding full diffs into notifications. They are only for changing the appearance and order of certain content inside the messages.
You can edit templates in any text editor.
After an edit, the change to the email template will take place immediately. No restart is required.
Advanced editing of FishEye email templates
The email notification templates use the Freemarker format. Freemarker is a general templating engine enabling automated content.
If you are familiar with Freemarker, more advanced customisations can be made to the email notification templates. However, you make such adjustments at your own risk.
FishEye email template file list
The following template files for FishEye notifications are stored in the
FISHEYE_HOME/template/fisheye/ folder, or its subfolders and
FISHEYE_HOME/template/shared/ folder, or its subfolders.
See also Customising Crucible Email Notifications.
Was this helpful?
Thanks for your feedback!