unable to resolve class com.atlassian.greenhopper.service.sprint.SprintManager

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.


The Problem is, i always get the following error message:

startup failed:
script1410847465866749671208.groovy: 6: unable to resolve class 
 @ line 6, column 1.
   import com.atlassian.greenhopper.service.sprint.SprintManager

script1410847465866749671208.groovy: 7: unable to resolve class 
 @ line 7, column 1.

script1410847465866749671208.groovy: 18: unable to resolve class 
 @ line 18, column 1.
   import com.onresolve.scriptrunner.runner.customisers.JiraAgileBean

script1410847465866749671208.groovy: 17: unable to resolve class 
 @ line 17, column 1.

script1410847465866749671208.groovy: 4: unable to resolve class 
 @ line 4, column 1.
   import com.atlassian.greenhopper.service.rapid.view.RapidViewService

script1410847465866749671208.groovy: 19: unable to resolve class 
 @ line 19, column 1.
   import com.onresolve.scriptrunner.runner.customisers.WithPlugin

script1410847465866749671208.groovy: 5: unable to resolve class 
 @ 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?

1 answer

0 vote

It's not going to work in an older version, because those annotations are not available in 2.1.15.

ahh :-/ too easy. hm.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

165 views 0 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you