Adding text content to the mail sent when ticket is closed

Hi 
I want to add some text to the mail which is being sent after the ticket is closed. How do I do it?
I tried to go the path as mentioned:
C:\Program Files\Atlassian\JIRA\atlassian-jira\WEB-INF\classes\templates\email\text

and edited the issueclosed.vm as below:

#disable_html_escaping()
#parse("templates/email/includes/issueplugins.vm")
[ $

{baseurl}/browse/${issue.getKey()}?page=${tabpanel-all} ]

#headerTitleText($i18n.getText("template.text.issue.closed", $remoteUser.displayName, $issue.key), $remoteUser.displayName)

#changes([])
#comment()
#visibilityText()

<tr valign="top">
<td>
<font size=2 color=blue>Your request with ticket no: ${issue.getKey()} has been </font><font color=green>closed.</font><br>
<font size=2 color=blue>Please <a href=${baseurl}

/browse/$

{issue.getKey()}>Click Here</a> to <font color=red>share feedback</font><font size=2 color=blue> the ticket and provide us your valuable feedback on our service.</font><br>
<font size=2 color=blue>If you are not satisfied with the resolution, please <a href=${baseurl}/browse/${issue.getKey()}

>Click Here</a> to log on to the tool and double click on your Request ID to </font><font color=red>REOPEN</font><font size=2 color=blue> the ticket.</font><br>
<font size=2 color=blue>Please note that the ticket will be automatically closed by the system after 4 days, if there is no action from your side.</font>
</td>
</tr>

#parse("templates/email/text/includes/issuesummary.vm")

#parse("templates/email/text/includes/footer.vm")

Then i restarted Jira. But i was not able to see the aadded text in the mail. It still sends the default mail. How do i achieve it. Can u plz guide me.

1 answer

This widget could not be displayed.
Timothy Chin Community Champion Dec 27, 2016

Are you sure you are sending text emails? Looks like you're adding HTML into the text template.

Hey,

Its resolved. Had some issues with the files. Anyways thanks for the help.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

119 views 2 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you