How can I solve this problem?
I use the ScriptRunner to run a script, 1 error appear
import com.onresolve.scriptrunner.runner.customisers.WithPlugin;
@WithPlugin("com.decadis.jira.xchart")
//import com.decadis.jira.xchart.api.ChartParam;
//import com.decadis.jira.xchart.api.model.Period
//import com.decadis.jira.xchart.api.util.DateUtils;
error:
startup failed: General error during conversion: Requested plugin com.decadis.jira.xchart was not installed/enabled, compiling source unit Script516.groovy. java.lang.Exception: Requested plugin com.decadis.jira.xchart was not installed/enabled, compiling source unit
I`m authorised by jiraadmin, The plugin xChart has been installed in jira.
JIRA Version:8.2.1
Hi chenzili,
I believe xChart plugin key is in fact "com.decadis.jira.xchart.xchart-core"
Could you please try this?
@WithPlugin("com.decadis.jira.xchart.xchart-core")
Regards
Hi Jack,
According to your suggestion, I have tried it, but new error appeard.
[groovy.lang.MissingPropertyException: No such property: ChartBuilder for class: Script547 at Script547.run(Script547.groovy:22)]
I check this vaviable in https://apps.decadis.net/display/XCHARTS/Latest+xCharts+API+Javadoc
It makes me puzzled
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.