|
Email Type
|
Objects
|
|---|---|
|
Any
|
originator (who performed the action), recipient,remoteAddress (if available).
|
|
artifact_comment_created
|
comment,artifact, artifact.project .
|
|
artifact_*
|
artifact, contentUpdated (boolean flag), diffHtml
|
|
forum_post_created
|
forumPost, forumPost.forum, forumPost.forum.project
|
|
lost_password
|
password (String), homeSite (URL as String)
|
|
project_created
|
project
|
|
project_join_*
|
project, comment (String).
|
|
scc_modification_committed
|
commit (the changeset itself), commit.changeFiles, commit.project, diffHtml, diffStats
|
|
send_email
|
body (String).
|
|
tracker_item_association_created
|
association, assocaition.fromDto, association.toDto, trackerItem, trackerItem.tracker, trackerItem.tracker.project
|
|
tracker_item_attachment_created
|
attachment, attachment.trackerItem, attachment.trackerItem.tracker, attachment.trackerItem.tracker.project
|
|
tracker_item_comment_created
|
comment, comment.trackerItem, comment.trackerItem.tracker, comment.trackerItem.tracker.project
|
|
tracker_item_*
|
trackerItem, trackerItem.tracker, trackerItem.tracker.project, modificationComment and modificationCommentFormat (if comment is not empty), modifiedProperties (collection).
|
|
user_*
|
user (the actual account the email is related to, it's not identical with the originator!)
|
|
wikipage_comment_created
|
same as for artifact_comment_created.
|
|
wikipage_*
|
same as for artifact_*, but wikiPage instead of artifact
|
New CB Tracker Item in ${trackerItem.tracker.project.name} "${trackerItem.summary}"
Severity:
#foreach($severity in $trackerItem.severities)
${severity.name}
#end
CB Change Committed to [${commit.project.id}] ${commit.project.name} "${commit.message}"
#if(${commit.changeFiles.size()} == 1)
(1 change)
#else
(${commit.changeFiles.size()} changes)
#end
(+${diffStats.linesAdded} -${diffStats.linesRemoved})
return true
// list of project IDs, tracker IDs and tracker item IDs
// that will be ignored when sending notification emails
def ignoredProjects = [-1, -2]
def ignoredTrackers = [-1, -2]
def ignoredTrackerItems = [-1, -2]
// reject if listed
if(trackerItem.tracker.project.id in ignoredProjects ||
trackerItem.tracker.id in ignoredTrackers ||
trackerItem.id in ignoredTrackerItems) {
return false
}
return true
for(modifiedProperty in modifiedProperties) {
if(modifiedProperty.fieldName == "Status" && modifiedProperty.newValue == "Closed") {
return true;
}
}
return false;
.<img src="data:image/png;base64,iVBORw0KGgoAAA
ANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4
//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU
5ErkJggg==" alt="Red dot" />
<img src="http://mysite/myimage.png" class="keepImageInEmails" />
|
|
The email clients -like Google's gmail web interface- may not display the images in data-uri or even external images. This can happen because the embedded images may either break the layout of the Gmail web-page and/or the images are sometimes have security implications: for example some pages may use small hidden images to track your action whether you have opened/viewed the email or not. So always test in your environment if the email works as designed. Links: sTurn images on or off in Gmail
![]() |