Can I use Scriptrunner expression JQL function with a scripted field?

Background:  I'm trying to create a filter which identifies the issues where the due date is before today and the last comment author is not the assignee.  Basically, I want to find all the past due issues where the assignee hasn't given a reason for being late.

 

To accomplish this, I first created a custom scripted field called Last Comment Author with this groovy script:

comment author code.PNG

It has a searcher configured:

searcher configured.PNG

What I'm trying to then do is run JQL like:

jql failure.PNG

As you can see it wants a searcher, but I have set and reset the searcher and indexed and reindexed JIRA, to no avail.

What am I doing wrong  here?

1 answer

Turns out it's a bug in the Scriptrunner expression function.  

https://productsupport.adaptavist.com/browse/SRJIRA-2375

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

376 views 1 13
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
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