Adding image to "Send an email" body from server

Issue #728 new
Hubert Kut
created an issue

Hello Fidel,

I would like to ask you if it's possible somehow to add to the email body the image that it's store on Jira server side. I would like to send an email with logo of my company at the top/bottom and less important to use it also in a footer.

p.s in "email this issue" I used sth like that but I would like to just stay with JWT: <img id="footer-pattern-logo-desktop" src="$attachmentsManager.getImageUrl("/images/mail/logo.jpg")" alt="logo" title="logo" class="image_fix" />

Cheers, Hubert

Comments (2)

  1. Fidel Castro Armario repo owner

    Hi @Hubert Kut,

    You can do it by making the logo image file available through http, instead of attaching it to the email. Then you only have to replace $attachmentsManager.getImageUrl("/images/mail/logo.jpg") with the logo image URL.

    Example: <img id="footer-pattern-logo-desktop" src="http://myserver.com/resources/images/mail/logo.jpg")" alt="logo" title="logo" class="image_fix" />

  2. Log in to comment