Disable Logo scaling

Hi all,

in JIRA 4 I used a 670x78 logo and it looks good also in the new JIRA 5, but now if I try to change it it will be scaled automatically to 412x42 as it correctly say when I upload it.

It is possible to disable scaling to see it in its original size?

2 answers

1 accepted

You shouldn't change jpm.xml, otherwise you'll lose your changes on app update.

Instead you should modify <home>/jira-config.properties (create the file if it doesn't exist):

jira.lf.logo.url = /url/to/mylogo.gif
jira.lf.logo.width = 423
jira.lf.logo.height = 54

But the other bits of the above answer are correct, you need to restart, and hit the restore default thing.

Only to add an example of logo URL that I used:
jira.lf.logo.url = /images/my-logo.png

That in my host is:


Doesn't seem to work with JIRA 6.0.6 anymore. Any other suggestions?

I've found a workaround to fix this issue, though it's far from optimal:

  1. Upload the logo you want to "${JIRA_INSTALL_DIR}/images/"
  2. Go to "${JIRA_INSTALL_DIR}/jira/atlassian-jira/WEB-INF/classes/"
  3. Edit "jpm.xml"
  4. Edit the fields shown in the code snippet below to match your logo path, width and height.
  5. Restart JIRA (using "${JIRA_INSTALL_DIR}/bin/{stop/start}-jira.sh")
  6. Go to the Look&Feel settings and upload a new logo (if no custom logo was currently defined)
  7. Reset the logo to the default value, and you should have the logo with dimensions as defined in "jpm.xml"

AFAIK, the "admin-editable" flag for height and width should enable the field for editing in the Look&Feel settings tab, but unfortunately that doesn't work for me.

Oh well, if you only have to change your logo once this should work. I don't know if this survives an update though.

            &lt;type&gt;string (url)&lt;/type&gt;

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,647 views 18 21
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