apple-touch-icon for Jira

Jira is setup and works great but I can't figure out where to put the icon file for the pinned version of the site on ios devices. Apple says to add this to your page and it will use that as an icon, otherwisr it will take a screen grab and shrink it down.

<linkrel="apple-touch-icon-precomposed"sizes="57x57"href="iconfilename-precomposed.png"/>

This is not a problem, I jsut want to know where to add this snippet to Jira so that the icon dosn't look like a little white blob.

1 answer

1 accepted

1 vote
Accepted answer

Hi Justin,

Please, go to your <jira-install>/atlassian-jira/includes/decorators/aui-layout/head-common.jsp. At the bottom of this file you will find something like:

&lt;link rel="shortcut icon" href="&lt;%= headerFooterRendering.getRelativeResourcePrefix()%&gt;/favicon.ico"&gt;
&lt;link rel="search" type="application/opensearchdescription+xml" href="&lt;%= request.getContextPath()%&gt;/osd.jsp" title="&lt;%= headerFooterRendering.getPageTitle(originalPage) %&gt;"/&gt;

Please, append your icon to it, as per following:

&lt;link rel="shortcut icon" href="&lt;%= headerFooterRendering.getRelativeResourcePrefix()%&gt;/favicon.ico"&gt;
&lt;link rel="search" type="application/opensearchdescription+xml" href="&lt;%= request.getContextPath()%&gt;/osd.jsp" title="&lt;%= headerFooterRendering.getPageTitle(originalPage) %&gt;"/&gt;
&lt;link rel="apple-touch-icon" sizes="57x57" href="&lt;path to your icon&gt;/my-icon-57.png"/&gt;

Please, refer to Specifying a Webpage Icon for Web Clip for further information.

Kind regards,
Rafael

Excellent. Exactly what I was looking for. For thouse looking to do the same. This is what I put in the file.

&lt;link rel="apple-touch-icon" href="&lt;%= headerFooterRendering.getRelativeResourcePrefix()%&gt;/jira_icon_60.png"&gt;
&lt;link rel="apple-touch-icon" sizes="76x76" href="&lt;%= headerFooterRendering.getRelativeResourcePrefix()%&gt;/jira_icon_76.png"&gt;
&lt;link rel="apple-touch-icon" sizes="120x120" href="&lt;%= headerFooterRendering.getRelativeResourcePrefix()%&gt;/jira_icon_120.png"&gt;
&lt;link rel="apple-touch-icon" sizes="152x152" href="&lt;%= headerFooterRendering.getRelativeResourcePrefix()%&gt;/jira_icon_152.png"&gt;

And I placed the icons in <jira-install>/atlassian-jira


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,111 views 4 9
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