Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

ScriptRunner-@WithPlugin,Requested plugin com.decadis.jira.xchart was not installed/enabled

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

1 answer

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)]

微信图片_20200222113356.png

I check this vaviable in https://apps.decadis.net/display/XCHARTS/Latest+xCharts+API+Javadoc

It makes me puzzled

I run this script in the Script Console

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Jira Cloud Performance Improvements

Hello everyone, I am a product manager in the Jira Cloud team focused on making sure our customers have a delightful experience using our products. Towards that goal, one of the areas which is extr...

175 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you