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

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
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...

650 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