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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

135 views 5 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