Image url for Jira

Subhajit Bhuiya July 9, 2018

This is my entry for atlassian-plugin.xml

 

<web-resource key="OslcJiraPlugin-resources" name="OslcJiraPlugin Web Resources">
<dependency>com.atlassian.auiplugin:ajs</dependency>
<resource type="download" name="OslcJiraPlugin.css" location="/css/OslcJiraPlugin.css"/>
<resource type="download" name="OslcJiraPlugin.js" location="/js/OslcJiraPlugin.js"/>
<resource type="download" name="images/" location="/images/resources"/>
<context>OslcJiraPlugin</context>
</web-resource>

 

I have folder images/resources under source/main/resources folder. images/resources contains many images. How to create url for those icon. I tried http://localhost:2990/jira/download/images/resources/testCaseResult.gif. But that doesnot work

1 answer

0 votes
Subhajit Bhuiya July 11, 2018

@Daniel Eads @Nir Haimov any clue on this

Subhajit Bhuiya July 12, 2018

I am able to solve the problem and icons are showing properly

Suggest an answer

Log in or Sign up to answer