Missing JQL Functions. Running Script Runner v3.0.16

dmhigdon June 8, 2015
Recently upgraded Script Runner to v3.0.16 and noticed SQL Functions are missing. Jira is v6.2.5. Any idea why this is happening?

2015-06-07 12:28:11,556 http-bio-8080-exec-99 ERROR xxxx.xxxx 748x112740x3 1qorgti 10.10.10.10,10.10.10.10,127.0.0.1 /secure/GHGoToBoard.jspa [jira.groovy.jql.ScriptedFunctionClauseFactory] Something has gone wrong: onlyCoreComponents not found in the fun tion registry. Returning an empty query.

 

 

 

 

2 answers

0 votes
dmhigdon June 8, 2015

Thanks, Jamie. Disable/Enable the plugin did not work. Is is possible to roll back to the previous version?

JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 9, 2015

It would be better to try to work through the issue. Are all jql functions broken or just yours? Eg does "issueFunction in hasSubtasks()" work? Go to admin -> script jql functions. Do you see yours there? You need to make sure your class that implements onlyCoreComponents is under a script root - see the parent page of the page link I posted above.

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 8, 2015

Try disabling then re-enabling the plugin.. If you have your own JQL functions - looks like you do - you may need to read: https://jamieechlin.atlassian.net/wiki/display/GRV/Breaking+Changes+for+Custom+JQL+Functions+in+3.0

But I would have expected more error messages.

Suggest an answer

Log in or Sign up to answer