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 Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

488 views 0 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