issueFunction custom field not added by Script Runner plugin

I've installed the Script Runner plugin but "issueFunction" queries do not work. The documentation refers to the issueFunction custom field being added but I cannot find such a field.

For example, from docs I use the JQL: "issueFunction in hasComments(3)"

produces error:

Field 'issueFunction' does not exist or you do not have permission to view it.

Version details:

Atlassian JIRA (v5.0.2#725-sha1:5735107)

Script Runner:

Version: 2.0.7

Developer: OnResolve Ltd

Add-on key: com.onresolve.jira.groovy.groovyrunner

Nothing in logs.

2 answers

1 accepted

Accepted Answer
1 vote

As Vidic says, it was introduced in 2.1... there is no version with this functionality that supports 5.0.x.

Thanks. And sorry guys, I looked for Changelog details but missed this.

Thanks again.

Maybe this function is introduced with Script Runner 2.1 beta (Scriptable JQL functions, 29 Dec 2012)?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

20,479 views 2 7
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