Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira Server - add image - E-mail template

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.

jira_image.jpgJira_wrong.jpg

2 answers

Im having the same issue in 2020. Anyone managed to get this working?

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.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you