Hi,
i have built a small plugin to inject some css and font files into JIRA and the JIRA service desk.
I added the files like this:
<web-resource key="styling-resources" name="styling Web Resources">
<dependency>com.atlassian.auiplugin:ajs</dependency>
<resource type="download" name="js/" location="/js/"/>
<resource type="download" name="images/" location="/images"/>
<resource type="download" name="fonts/" location="/fonts"/>
<context>styling</context>
</web-resource>
<web-resource key="styles.atl.general.resources" name="Ressources for Jira Core">
<resource type="download" name="atl.general.css" location="css/atl.general.css"/>
<context>atl.general</context>
<context>main</context>
</web-resource>
<web-resource key="styles.jsd.customer.resources" name="Ressources for Customer Portal of JIRA Service Desk" application="jira">
<resource type="download" name="fonts/" location="/fonts"/>
<resource type="download" name="jsd.customer.css" location="css/jsd.customer.css"/>
<context>customerportal</context>
<dependency>com.atlassian.servicedesk:customer</dependency>
</web-resource>
<web-resource key="jira.admin.resources" name="Minimal Theme Admin/General Resources">
<resource type="download" name="jira.admin.css" location="css/jira.admin.css"/>
<context>atl.general</context>
<context>main</context>
<context>atl.admin</context>
</web-resource>
I have problems when accessing the JIRA Service Desk portal.
When i test the plugin in chrome the files residing in /fonts are delivered to the browser just fine:
Bildschirmfoto 2016-06-29 um 12.23.04.png
When i use Firefox or IE JIRA does not deliver the file, but issues a code302 and some JS and HTML content:
Bildschirmfoto 2016-06-29 um 12.26.50.png
I saved it as a file
In JIRA Core this works just fine.
Whats going on here?
Community moderators have prevented the ability to post new answers.
It helped to add each font as a single ressource instead of making the font folder a ressource
hi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When i copy over the URL from Firefox to chrome the .woff file downloads just fine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.