Unsuccessful at getting custom fields in HTML email notifications Edited

We've been trying get custom fields to appear in our HTML email notifications, based on the information in this article, but have so far been unsuccessful:

Adding Custom Fields to Email

Thus far, we haven't seen any impact on the messages being sent, but my belief is that we've been editing the wrong files. The path for the templates mentioned in the article seems to only be referring to text email templates, but we're using HTML email notifications. 

I tried looking at the templates in atlassian-jira\WEB-INF\classes\templates\email\html, but they're so (obviously) radically different from the text templates that I'm not sure whether any of the information listed in that article still applies.

Has anyone been successful at using custom fields in HTML email notifications? If so, how did you go about it? (Disclaimer - I'm a systems admin, NOT a developer. I know what my custom field ID is, but beyond that, I'm fairly clueless about how these templates are constructed, so the more specifics you can include in your reply, the better). 

3 answers

Hi there - just checking in to see whether anyone has been successful at using custom fields in HTML email notifications. If so, I'd love it if you could share some of your knowledge, please. 

0 votes

Yes, many times.  HTML is more complex to generate, and it's not tolerant of errors - it has to be well-formed or your changes can be totally invisible.   But you've hit the right files and docs for it.


Thanks for the reply. Would you happen to have any examples of what you've done that you could share? I don't have any clue what "well-formed" would even look like, since I haven't been able to find any documentation on this whatsoever. 

Examples I could give wouldn't help you - they'd look the same  (just as inscrutable) as the templates you are reading.  You need to understand the basics of html (I find https://www.w3schools.com/html/default.asp handy) and the templates - http://velocity.apache.org/engine/1.7/user-guide.html

Thanks a bunch. I'll try going through those sites and then take another run at it. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 14, 2019 in Jira

Updates to jira.atlassian.com give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

595 views 1 15
Read article

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