Email template editor

Hello,

When I try to use the email template editor plugin, no template is avaible :

I can see three menu but none is working (no link activate) :

HTML TEMPLATES
TEXT TEMPLATES
SUBJECT TEMPLATES

What should I do to make it work ?

Thanks !

3 answers

Hope this could help you https://marketplace.atlassian.com/plugins/com.atlassian.labs.jira.emaileditor.emaileditor-jira-plugin

Or you can manually modify the template under atlassian-jira\WEB-INF\classes\templates\email\*, please restart jira after you modify the templates.

0 votes
Joe Wai Tye Atlassian Team Sep 02, 2013

Hi Michel,

You could also manually modify the template for your JIRA email notifications, using the instructions mentioned in this documentation : Customising Email Content

I recommed to you that the best solution is to edit manually the email templates. You can find these templates in: [INSTALL DIRECTORY OF JIRA]/atlassian-jira/WEB-INF/classes/templates/email

EDIT: For example, I edit manually the email template when a user is created in JIRA. This is the code (/email/html/usercreated.vm):

#disable_html_escaping()
#parse("templates/email/html/includes/emailconstants.vm")
#parse("templates/email/html/includes/header.vm")
#set($setpasswordUrl    = "${baseurl}/secure/ResetPassword!default.jspa?os_username=${velocityhelper.urlencode($user.name)}&token=${params.get('password.token')}")
#set($forgotpasswordUrl = "${baseurl}/secure/ForgotLoginDetails.jspa?username=${velocityhelper.urlencode($user.name)}")
<tr valign="top">
    <td id="email-fields" style="padding:50px 32px 32px 32px;width:100%;">
        <table border="0" cellpadding="0" cellspacing="0" style="padding:0;text-align:left;width:100%;" width="100%">
            <tr valign="top">
                <td id="email-gutter" style="width:64px;white-space:nowrap;"></td>
                <td style="color:${textColour};font-family:${textFontFamily};font-size:${textSize};">

<p style="color:${textColour};font-family:${textFontFamily};font-size:${textSize};">Dear,</p>
                    <p style="color:${textColour};font-family:${textFontFamily};font-size:${textSize};">The administrator of XX User Support Tool (JIRA) has created a new user account with the mail address :</p>

                    #parse("templates/email/html/includes/userdetails3.vm")

                    <p style="color:${textColour};font-family:${textFontFamily};font-size:${textSize};">You can access by clicking on the button / link below :</p>
                    <div style="padding:8px 0;"><a href="${setpasswordUrl}" id="email-signup-button" role="button" style="display:inline-block;background-color:#568cd3;border:solid 1px #4d7fc3;border-radius:3px;color:#fff;font-size:13px;font-weight:bold;padding:0;text-decoration:none;white-space:nowrap;"><span style="display:inline-block;background-color:#568cd3;border-top: 1px solid #6c9dda;border-radius:3px;padding:7px 15px;text-shadow: 0 -1px 0 #244778;">
                        $i18n.getText('template.user.created.set.password.button')
                    </span></a></div>
#if($product != "ondemand")## TODO JRADEV-12245 - Make OnDemand's emails the same as JIRA's.
                    <p style="color:${textColour};font-family:${textFontFamily};font-size:${textSize};">This button / link can only be used once to log in, and will direct you to a website where you can put your password. This link expires in a day.</p>
#end
                    <p style="color:${textColour};font-family:${textFontFamily};font-size:${textSize};">Once you have set the password, you can log in <a style="color:${textLinkColour};" href='https://XXXX'>JIRA</a> using :</p>

                  #parse("templates/email/html/includes/userdetails2.vm")

                    <p style="color:${textColour};font-family:${textFontFamily};font-size:${textSize};">Best regards</p>

                </td>
            </tr>
        </table>
    </td>
</tr>
#parse("templates/email/html/includes/footer.vm")

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,774 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot