...
Code Block |
---|
#set ($recipientType = $jemhUtils.getRecipientType().name()) <p>recipientType: $recipientType</p> #if ("$recipientType"=="REPORTER" || "$recipientType"=="REQUEST_PARTICIPANT" || "$recipientType"=="EMAIL_CUSTOM_FIELD" || "$recipientType"=="OTHER") #set ($serviceDeskUpdateFields = ['issuetype','summary']) <h3>Customer Notification</h3> #else #set ($serviceDeskUpdateFields = ['issuetype','summary','description','customfield_10200', 'security', 'labels']) <h3>Jira Notification</h3> #end |
Remember that to preview a template in the context of a given user, use the JEMHC > Notifications > Preview (where a recipient can be selected) rather than the “Template Set Preview” (an improvement exists to make this possible on Template Set Preview).
Editing the content
Editing a TemplateSet gives access to relevant content (sometimes html is not supported/appropriate)
...