Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Scripted Field broken after update to 8.2.2

So I have this scripted field:


import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.jql.parser.JqlQueryParser
import com.atlassian.jira.web.bean.PagerFilter
import com.atlassian.jira.event.type.EventDispatchOption
import com.atlassian.jira.issue.Issue
import com.atlassian.jira.issue.MutableIssue
import com.atlassian.jira.issue.index.IssueIndexingService
import com.atlassian.jira.util.ImportUtils;

enableCache = {-> false}

def cField = ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName("FT Target Sprint")
def ret = []
def is = issue.getNumber()

def issueManager = ComponentAccessor.getIssueManager()
def customFieldManager = ComponentAccessor.getCustomFieldManager()
def sdUser = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser()
def jqlQueryParser = ComponentAccessor.getComponent(JqlQueryParser)
def searchProvider = ComponentAccessor.getComponent(SearchProvider)
def epicQuery = jqlQueryParser.parseQuery("project = CWOW AND type = Epic AND \"Parent Link\" = CWOW-${is} ")
def epicResults =, sdUser, PagerFilter.getUnlimitedFilter())

if( >= 1) {
epicResults.getIssues().each() {
documentIssue ->
def issue = issueManager.getIssueObject(
if(issue.getCustomFieldValue(cField) != null){ ret.add(issue.getCustomFieldValue(cField)) }
} else return null

def set = ret.toSet()
return set.last()


After the update to 8.2.2 this is no longer working. It's throwing this error:


groovy.lang.MissingMethodException: No signature of method: is applicable for argument types: (com.atlassian.query.QueryImpl, com.atlassian.jira.user.DelegatingApplicationUser, com.atlassian.jira.web.bean.PagerFilter) values: [{project = "CWOW"} AND {type = "Epic"} AND {Parent Link = "CWOW-27963"}, ...] Possible solutions: search(, com.atlassian.jira.web.bean.PagerFilter), search(, com.atlassian.jira.web.bean.PagerFilter, java.util.Set), search(,, each(groovy.lang.Closure)



Im not exactly sure what to do with this information. This was written for scriptrunner by the way. Any help would be appreciated. Thanks!


1 answer

I had same issue.

this post saved my day:

ctrlc-ctrlvd examples and they work

Also, what an incredible find, haha!

Thanks for sharing that article!

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you