How can I control what JavaScript modules are sent in HTML JIRA notifications?

Andrei [errno]
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.
June 3, 2011

it seems that HTML emails contain quite a bit of JavaScript code. Iknow since our users' Lotus Notes 7.0 throws a nasty error.

Is there a way to strip JavaScript from being sent in HTML notifications? ie. I just need vanilla HTML + styles.

it is being tracked as https://jira.atlassian.com/browse/JRA-24559 and while waiting for a fix - I'd like to tweak email output. Will editing Velocity templates help?

thanks

1 answer

1 accepted

3 votes
Answer accepted
Jobin Kuruvilla [Adaptavist]
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.
June 3, 2011

Yes, You can modify your HTML mail templates to strip down the javascripts. You can find the templates at WEB-INF/classes/templates/email/html

Also check out http://confluence.atlassian.com/display/JIRA/Customising+Email+Content

Suggest an answer

Log in or Sign up to answer