I am unable to load javascript in plugin (JIRA 5).
<web-resource key="Customfield-resources" name="Custom Field Web Resources"> <dependency>com.atlassian.auiplugin:ajs</dependency> <resource type="download" name="tutorial-jira-custom-field.js" location="/js/tutorial-jira-custom-field.js"/> <resource name="requirement-custom-field.js" type="download" location="/js/requirement.js"> <context>atl.general</context> <context>atl.admin</context> </resource> <!-- <context>tutorial-jira-custom-field</context>--> </web-resource>
In vm i include
$webResourceManager.requireResource("com.example.plugins.tutorial.jira.case-type-custom-field:requirement-custom-field.js")
Cannot find web resource module for: com.example.plugins.tutorial.jira.case-type-custom-field:requirement-custom-field.js
Thanks.
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.