The same script works with an older Jira Plugin.
I created a brand new report plugin today using the tutorials posted online.
Plugin is running, but getting this error in the browsers console:
batch.js TypeError: $ is not a function
Which points to this:
/ module-key = ‘com.atlassian.tutorial.myPlugin:myPlugin-resources’, location = ‘/js/myPlugin.js’ /
Note 1: highcharts.js is located in the same folder as myPlugin.js.
Note 2: highcharts.js has been added to atlassian-plugin.xml