Cannot send HTML emails or get issue comments to display in email

We have set all of the settings so that the default email format is HTML, however whenever we receive an email via the plugin (from a post function), they are always sent in text format.

As for the text template, we cannot seem to print out the issue comments in within the email. We have tried copying/pasting the suggested velocity code (using the field picker on the template screen), along with some other attempts, but the comments will never show.

We are current using Jira 5.2.10 w/ JETI 5.2.7.

Thanks.

5 answers

1 accepted

Hi Anthony, the symptoms you described occur when user options is disabled in JETI configuration.

It is actually a bug that we are fixing with high priority. You can watch this ticket to get notified of the progress: https://metainf.atlassian.net/browse/JETI-85

Tibor

Hi Anthony, when you say 'we have set all the settings so that the default email format is HTML' you are including the option Mail Type on your profile configuration preferences?

Yes, that one too. All of the users have their profile email type preference set to HTML.

One thing I did notice is that looking at the suggested velocity code for rendering the comments field:

Render as Text: #parse("templates/emailissue/email/text/public-comments.vm")

... was that I could not locate the public-comments.vm file in the path where I would expect to find this file (<drive>:\Program Files\Atlassian\JIRA\atlassian-jira\WEB-INF\classes\templates\email\text).

Could this be the issue that I'm missing a plugin file? If so, I am curious why it was not installed when the plugin was applied. Thanks.

Anthony, the piblic-comments.vm files are stored within the plugin jar and not in your file system. You are not missing the file.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

77 views 0 5
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