I'm running a standalone 5.2.2 Jira server with ScriptRunner 2.1.3. I'm using script runner to run validators in my workflow so I believe it is installed correctly.
As a Jira admin, I peruse the "Scripted JQL Functions" menu and I 'Preview' the versionMatch function. I entered some regex expressions for my version and it returned the versions I was expecting.
From the Advanced Search page, I enter the simple query:
fixVersion in versionMatch("13.2.*")
and it returns the error:
Unable to find JQL function 'versionMatch(13.2.*)'.
Do I have to enable something?
Thanks,Brent
Thanks for responsing Jamie.
I decided to disable and then enable versionMatch from the ScriptedJQLFunctions page and it is now recognizing this JQL function. A possible restart of the server may have fix it but we are in production so that is always a last resort.
Thanks for time.
FYI, in case anyone else runs into this issue we found that while our stage instance had 116 plugin modules listed, our production instance only displayed 83. After uninstalling and reinstalling the plugin all modules now appear and the versionMatch queries seem to be working fine now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Jamie Echlin [Adaptavist], we face the same problem in version 2.1.17 for JIRA 6.2.5
The problem occured when the JIRA server is rebooted
Do you have a fix for this?
Thanks
Leon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you're not using IE8, can you try upgrading to the latest version, 3.x.x... which you get from marketplace.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
wow, quick reply! Thanks! is that compatible with Jria 6.2.x?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Jamie Echlin [Adaptavist] thanks for your reply. not sure if you get notified when I reply your comments. My question is: is 3.xx compatible with jira 6.2.x? If it is not tested against Jira 6.2.x, we will do our own test before upgrade to 3.x.x.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We're also experiencing the same symptom for all Script JQL functions.
Jira Server version: 5.2.2
- all functions are enabled in admin panel
- re-started server
- re-indexed content
- all functions work as expected in preview panel of admin screen
Any other pointers as to how to get the functions recgnized from issue Filter screen?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Works for me. Seems odd that the error displays the parameter. Are you putting some kinds of quotes in?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi check on your Admin Section --> Script Runner --> Script JQL Functions --> versionMatch
In order to work properly this has to be Enabled.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it is Enabled. Cut & paste from function panel:
versionMatch File/url: bundle://102.0:1/com/onresolve/jira/groovy/jql/EntityMatch.groovy (View Source)
Operations: Delete Preview Enable Disable
Match the version name by reg exp
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm doing some tests in my instance and I'm not having problems with this... Reindex done... Maybe a server restart? but such a pain... You could contact @Jamie for this case...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In fact, @Jamie doesn't do support but since this could a bug on the plugin he might take a look here if he has time...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can this issue by forwarded to Jamie or do I reenter on his page?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I do do support!! Sometimes I feel like I do nothing but support ;-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oops! My bad, I was just referring to plugins info in marketplace ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have done a ReIndex as well
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.