It has been requested of me to set up our outgoing emails to follow a certain criteria which is not really supported by the notification options so I am using automation. I am having trouble with some of my smart values as I have not used them much before now. THe layout of the email is as follows.
h2>Your ticket ({{issue.key}}) status is ({{issue.status.name}})</h2>
<b>Incident Type:</b>{{issue.issuetype.name}}<br>
<br>
<b>Priority:</b>{{issue.priority}}<br>
<br>
<b>Labels:</b>{{issue.labels}}<br>
<br>
<b>Reported By:</b>{{reporter.displayname}}<br>
<br>
<b>Assigned To:</b>{{assignee.displayname}}<br>
<br>
<b>Date Created:</b>{{#issue.created}}<br>
<br>
<b>Date Updated</b>{{#issue.updated}}<br>
<br>
<b>Description:</b><br>
<br>
{{issue.description}}
<br>
<b>Comments:</b><br>
<br>
{{#issue.comments}}
<br>
I dont know if the issue is me trying to use HTML or what but I get an error every time I test it.
Also, ensure that "send as" is HTML and not Plain Text.
If you're going into the Customer Notification section to modify it then you will need to use formatting provided to you
https://jira.nos.noaa/secure/WikiRendererHelpAction.jspa?section=texteffects
Check out the smart value syntax here...
https://docs.codebarrel.io/automation/smart-fields/extracting-issue-data.html
Below is one notification we use for requests.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.