How to change issue export-excel header image(Logo)?

On issues Export Excel (All Fields), Excel shows the Application logo on Header. How do I change the header with different image?

5 answers

Hey Rishab,

this would only be possible by editing the underlying template which again is only possible on a hosted instance.
In order to do this, the following resource should give you all the info:
https://developer.atlassian.com/jiradev/jira-architecture/jira-templates-and-jsps/customising-jira-excel-output

I hope that helps!

Regards,
Philipp 

Hi Philipp,

 

How do I replace the <img src="$jiraLogo"  with Image stored at folder $JIRA_INSTALL/atlassian-jira/images/slogo1.png ?

i tried <img src="$JIRA_INSTALL/atlassian-jira/images/slogo1.png " width="48" height="48" border="0">

But on export excel header. I get this error.

image2015-2-13 14:11:52.png

 

//Rishab Gehlot

Hey Rishab,

you will probably have to use a variable that is known in the context in which the template (the .vm-file) is rendered; this probably isn't the case for $JIRA_INSTALL.
Depending on if you expect the path of you JIRA installation to ever change, you could simply use the complete path, as for instance (if you use the default paths): 
<img src="/opt/atlassian/jira/atlassian-jira/images/slogo1.png" width="48" height="48" border="0">

Regards,
Philipp

Still no luck.

I have image file on C:\Program Files\Atlassian\JIRA\atlassian-jira\images\slogo1.png

Am i using it correctly?

<img src="/opt/atlassian/jira/atlassian-jira/images/slogo1.png" width="48" height="48" border="0">


//Rishab Gehlot

Hey Rishab,

oh, sorry. I thought you were running JIRA on Linux.
In this case the following should work:
<img src="file:///C:/Program Files/Atlassian/JIRA/atlassian-jira/images/slogo1.png" width="48" height="48" border="0"> 
 
If it doesn't, it could also help to copy the image to the same folder as the searchrequest-excel-header.vm file and just use the img-tag with the relative link:
<img src="slogo1.png" width="48" height="48" border="0">

I hope this helps.

Regards,
Philipp 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

607 views 6 12
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you