On issues Export Excel (All Fields), Excel shows the Application logo on Header. How do I change the header with different image?
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.