I tried to use in an old Script Runner version (v2.1.15).
I extracted the File from version 3.0.0 and created a new JQL-Function.
2014-09-16_08h04_38.png
The Problem is, i always get the following error message:
startup failed: script1410847465866749671208.groovy: 6: unable to resolve class com.atlassian.greenhopper.service.sprint.SprintManager @ line 6, column 1. import com.atlassian.greenhopper.service.sprint.SprintManager ^ script1410847465866749671208.groovy: 7: unable to resolve class com.atlassian.greenhopper.web.rapid.chart.HistoricSprintDataFactory @ line 7, column 1. import com.atlassian.greenhopper.web.rapid.chart.HistoricSprintDataFactory ^ script1410847465866749671208.groovy: 18: unable to resolve class com.onresolve.scriptrunner.runner.customisers.JiraAgileBean @ line 18, column 1. import com.onresolve.scriptrunner.runner.customisers.JiraAgileBean ^ script1410847465866749671208.groovy: 17: unable to resolve class com.onresolve.scriptrunner.canned.jira.utils.plugins.RapidBoardUtils @ line 17, column 1. import com.onresolve.scriptrunner.canned.jira.utils.plugins.RapidBoardUtils ^ script1410847465866749671208.groovy: 4: unable to resolve class com.atlassian.greenhopper.service.rapid.view.RapidViewService @ line 4, column 1. import com.atlassian.greenhopper.service.rapid.view.RapidViewService ^ script1410847465866749671208.groovy: 19: unable to resolve class com.onresolve.scriptrunner.runner.customisers.WithPlugin @ line 19, column 1. import com.onresolve.scriptrunner.runner.customisers.WithPlugin ^ script1410847465866749671208.groovy: 5: unable to resolve class com.atlassian.greenhopper.service.sprint.Sprint @ line 5, column 1. import com.atlassian.greenhopper.service.sprint.Sprint ^ 7 errors A stacktrace has been logged.
Do you have an idea, what went wrong?
It's not going to work in an older version, because those annotations are not available in 2.1.15.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.