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)


Was this issue resolved? I have encountered the same issue just now

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

84 views 0 5
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