Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Help getting my smart values to work

Deleted user August 14, 2018

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. 

1 answer

0 votes
Raynard Rhodes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 14, 2018

Also, ensure that "send as" is HTML and not Plain Text.

second.png

 

 

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.

 

first.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events