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
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

29 views 0 2
Join discussion

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