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,, /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

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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,086 views 4 9
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