Goal: add logo in E-mail notifications
Environment: Jira Server
Ticket: https://jira.atlassian.com/browse/JSDSERVER-4365
Hi there,
I have simple yet seemingly complex questions.
Where do I place my image on the server?.
How do I refer to it?.
Currently I have placed it in:
atlassian-jira/WEB-INF/classes/templates/email/includes
<img src="../includes/logo.png"> or just <img src="logo.png"> etc..
No matter what I try and how I reffer it, cant seem to include the image, but I feel I am doing it wrong. Not sure which folder is considered the root when the E-mail template page processes the HTML and CSS.
The workaround:
<img src="https://www.SomewhereOnTheInternet/logo.png">
However, this workarround causes extreme delays (or mail never arrives) when sending E-mail notifications and client must accept / allow the logo to be displayed (screenshot example included).
Normaly this can be fixed by embedding the logo / send it with the mail, this can be done by reffering to the image in the code directly of the server.
Unfortunately nobody has tried this approach and feel this needs to be tested, in general I feel like this should be a functionality and have a hard time why this simple business logic is not standardized in Jira.
I'm experiencing the same issue with the logo in the email from service management. I've tried multiple URLs for the image and it previews correctly in the template preview but the email never shows the image.
This appears to be specific to the email user. I tried my work email vs personal email and my personal was able to view the image.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Im having the same issue in 2020. Anyone managed to get this working?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can find the logo URL in the Look and feel by right clicking the uploaded logo there.
Then update that URL in the file:
\atlassian-jira\WEB-INF\classes\templates\email\html\includes\header.vm
in line
<img id="header-avatar-image" class="image_fix" src="https://your.website.com/some-mumbo-jumbo/jira-logo-scaled.png" width="100" border="0">
Or try deleting everything except that line in the header-container paragraph. That works for us.
Restart JIRA.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.