Compilation failure of addedAfterSprintStart function from Script Runner

Recently, We have this problem when checking the stories added to sprint after the sprint start with script "issueFunction in addedAfterSprintStart(board name, [sprint name])":

Scripted function "addedAfterSprintStart" compilation failure. Contact administrator and check logs. Message: null

The version of ScriptRunner is and JIRA is 6.3.15.


Has anyone encountered this issue before?


2 answers

We have two projects in the same JIRA site. The script problem happen for one project while working fine in another.

Could it be due to the ScriptRunnder is evaluation version?

Here's the error call stack:


at com.atlassian.fugue.Either.getRight(
at com.atlassian.fugue.Either$RightProjection.get(
at com.atlassian.greenhopper.service.ServiceOutcomeImpl.get(
at com.atlassian.greenhopper.service.ServiceOutcome$get$ Source)
at com.onresolve.jira.groovy.jql.plugins.AddedRemovedAfterSprintStart.getSprintsFromBoard(AddedRemovedAfterSprintStart.groovy:151)
at com.onresolve.jira.groovy.jql.plugins.AddedRemovedAfterSprintStart$getSprintsFromBoard$0.callCurrent(Unknown Source)
at com.onresolve.jira.groovy.jql.plugins.AddedRemovedAfterSprintStart.isSprintInBoard(AddedRemovedAfterSprintStart.groovy:170)
at com.onresolve.jira.groovy.jql.plugins.AddedRemovedAfterSprintStart$isSprintInBoard.callCurrent(Unknown Source)
at com.onresolve.jira.groovy.jql.plugins.AddedRemovedAfterSprintStart.validate(AddedRemovedAfterSprintStart.groovy:96)
at com.onresolve.jira.groovy.jql.JqlFunction$validate$ Source)
at com.onresolve.jira.groovy.jql.ScriptedJqlFunction.validate(ScriptedJqlFunction.groovy:93)


Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,173 views 13 19
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
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