It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

REST endpoint created in JIRA 7 does not work in 6.4.2

Vidula Kulkarni Nov 26, 2015

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

0 votes
JamieA Nov 27, 2015

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.

0 votes
Mark McCormack Nov 27, 2015

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)?

JamieA Nov 27, 2015

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.

Vidula Kulkarni Nov 29, 2015

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

0 votes
Bertold Kolics Jan 11, 2016

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Marketplace Apps & Integrations

scaling agile at the enterprise level with Valiantys

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

427 views 1 12
Read article

Community Events

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

Events near you