Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to insert Custom JIRA Logo in a email header template

Aleksandr Karev December 14, 2018

Hi!

JIRA 6.x was upgraded to JIRA 7.x and email header template had stopped to show a custom logo in a JIRA email header.

In JIRA 6.x was a file - "header.vm" witch had couple of strings which holds a refference to custom JIRA Logo which doesn't work properly in JIRA 7.x

"...

#* @vtlvariable name="jiraLogoUrl" type="java.lang.String" *#

...

...<img src="$textutils.htmlEncode($jiraLogoUrl)"

..."

1) Is any way to insert a Custom JIRA logo to the email header template?

2) is it possible to insert a Custom JIRA Logo which stored as an image file on JIRA application server? ...Or if a Custom JIRA Logo is accessed from JIRA application via URL like https://<jira-application> then use it in a email header template. But what the URL to there?

1 answer

1 accepted

1 vote
Answer accepted
Aleksandr Karev December 19, 2018

Hi everybody!


I managed to insert a custom JIRA Logo which is stored in a folder on JIRA application server to email template.


I use this code in email template files:
<img id="header-avatar-image" class="image_fix" src="$attachmentsManager.getImageUrl("/custom-folder/jira-custom-logo.png")" alt="CustomLogoImage" title="CustomLogoImage" height="32" width="32" border="0" />

A custom logo should store in <JIRA Installation Directory>/atlassian-jira folder

Suggest an answer

Log in or Sign up to answer