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?
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 22.214.171.124 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.
Hey there Community! My name is Vannya Vallejo, the Channel Communication Specialist at Atlassian and I want to help Atlassian users like you learn about our Solution Partners and how they can help ...
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