All Versions
Crucible 4.2 DocumentationCrucible 4.1 Documentation
Crucible 4.0 Documentation
More...
Email notifications in Crucible can be customised to change their formatting, by editing template files. This page contains instructions for this process.
Template files for Crucible are stored in the FISHEYE_HOME/templates/ folder.
For Crucible, the set of templates is for plain-text email only. 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.
If you edit the templates of an operational Crucible instance, you may disrupt notifications that are being sent at that time. To avoid this, shut Crucible down during template editing.
FISHEYE_HOME/templates/ in a text editor.Header information will be included at the beginning of the email body text.
FISHEYE_HOME/templates/ in a text editor.Footer information will be included at the end of the email body text.
FISHEYE_HOME/templates/ in a text editor. 'crucible-notification-footer.ftl' is used as the footer template for all Crucible email notifications.After an edit, the change to the email template will take place immediately. No restart is required.
Try and avoid editing the live template file, as Crucible may try to use it while you are editing. This could have unpredictable results. Instead, back up the template file (it's wise to keep original versions of all these files), edit a copy you have made, then overwrite the 'live' template once you have finished.
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.
Note: In Crucible, email notifications are limited to plain-text format only.
The following template files for Crucible notification are stored in the FISHEYE_HOME/templates/ folder.
Template filename |
Purpose |
|---|---|
crucible-notification-subject.ftl |
Subject template |
crucible-notification-header.ftl |
Header template |
crucible-notification-footer.ftl |
Footer template |
state-closed-notification.ftl |
State Closed template |
all-completed-notification.ftl |
All Completed template |
state-changed-notification.ftl |
State Changed template |
completed-notification.ftl |
Completed template |
general-notification.ftl |
General notification template |
uncompleted-notification.ftl |
'Uncompleted' template |
all-no-longer-completed-notification.ftl |
All-No-Longer-Completed template |
comment-notification.ftl |
Comment template |
reply-notification.ftl |
Reply template |
review-precis-plain.ftl |
Precis template |
See also Customising FishEye Email Notifications.