I have just installed the Script Runner plugin (version 2.1.15) in my Jira (v6.0.8#6109-sha1:57cf099)
Whe I do a search using a script JQL function like
issueFunction in linkedIssuesOf("labels = 'XXXX'", "Contains")
I get the following error:
Field 'issueFunction' does not exist or you do not have permission to view it.
I've already tried a re-indexing and re-login.
I checked at AddOns->ScriptRunner->Scripted JQL functions and all the functions are enabled.
Any help here?
The error tells you there is a problem with your Custom Field named "issueFunction". Btw, what did you want your SQL to return? Currently you are checking if the value of your Custom Field is in the list of Issues, which implies that your Custom Field type is Issue (i.e. you have created a new Custom Field Type). Is that really the case?
If I understand correctly, you have read the article about Scripted JQL Functions, which means you're using your jql inside a Script Runner plugin, right? The syntax of those jql queries is a bit different than the syntax of the original JIRA JQL queries, which means you need to use that query inside a Script Runner and not in the JIRA search.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot