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

This widget could not be displayed.

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.

This widget could not be displayed.

Vidula,

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...

This widget could not be displayed.

I see the exact same issue in JIRA 6.4.11. I have recently upgraded to the 4.1.3.7 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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published yesterday in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

297 views 0 13
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