Missing JQL Functions. Running Script Runner v3.0.16

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

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.

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

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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

417 views 7 5
Join discussion

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