Doc downloads (PDF, HTML & XML)
[Crucible Knowledge Base]
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
folder and the
/template/crucible/<Crucible home directory>
<Crucible home directory>/template/shared
folder.
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:
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.
See Freemarker Data Model for Email Templates in the FishEye documentation for details of the data model used by FishEye/Crucible.
The following template files for Crucible notification are stored in the
folder, or its subfolders.
/template/crucible/<Crucible home directory>
Template filename | HTML | Plain-text |
---|---|---|
common-mention-macros.ftl | Both | |
crucible-notification-subject.ftl All of the content must be contained within the first line of the template. You can't use markup in this line. Currently not working – see CRUC-4180 - Getting issue details... STATUS | Both
| |
changeset-headet.ftl | Shared | |
util.ftl | Shared | |
all-completed-notification.ftl | ||
all-uncompleted-notification.ftl | ||
batch-comment-note.ftl | ||
batch-reviewer-note.ftl | ||
batch-revision-added-note.ftl | ||
batch-state-note.ftl | ||
comment-render-macro.ftl | ||
crucible-layout.ftl | ||
cscomment-notification.ftl | ||
general-notification.ftl | ||
invite.ftl | ||
mention-macros.ftl | ||
mention-user-in-changeset-comment-notification.ftl | ||
mention-user-in-review-comment-notification.ftl | ||
mention-user-in-review-description-notification.ftl | ||
review-allcomments.ftl | ||
review-header.ftl | ||
review-participant-row.ftl | ||
review-reminder-notification.ftl | ||
review-summary.ftl | ||
share-footer.ftl | ||
share-header.ftl | ||
share-notification.ftl |
See also Customising FishEye Email Notifications.