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 vote

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,316 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot