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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

292 views 5 0
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