REST endpoint created in JIRA 7 does not work in 6.4.2

I have a REST endpoint created in JIRA 7.0 that works perfectly fine. When I copied the script to JIRA 6.4.2, I get the following warning/error in logs:

/rest/scriptrunner/latest/canned/com.onresolve.scriptrunner.canned.common.StaticCompilationChecker [scriptrunner.runner.customisers.MonkeyPatchModuleFactory] This is JIRA Agile prior to the most recent supported version, functions won't work

What do I need to do to get it working in 6.4.2 JIRA?


3 answers

I'm not really sure why you are getting that message, I presume it's in the logs and an overlay on the script? 

It should still actually work even if the static compilation checker is falling over.


It is likely you are not using the same version of JIRA Agile in your 6.4.2 instance of JIRA. Could you please check you are using the latest version (i.e JIRA 6.7.7 or above)?

That may be the case and indeed it would mean that certain functions could not be used, but he shouldn't be seeing that error when developing a rest endpoint. SR can be used fine both with supported versions of JA, and without it completely, or with an old version. Just in those last two cases certain JQL functions won't be available.

Thank you for your response Jamie and Mark. I am not getting the error any more and have the end point working. I had to try a simple script first and then the end point script started working fine. I still dont know why I got the error initially and then didnt get it again...

I see the exact same issue in JIRA 6.4.11. I have recently upgraded to the version of the ScriptRunner plugin. I tried to shut down JIRA, remove the JIRA_HOME/temp as well as JIRA_HOME/work directories. What am I doing wrong? (JIRA Agile version is 6.6.51). Thank you.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 13, 2019 in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page


251 views 0 6
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