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 4.1.3.11 and JIRA is 6.3.15.
Has anyone encountered this issue before?
Here's the error call stack:
java.util.NoSuchElementException
at com.atlassian.fugue.Either.getRight(Either.java:176)
at com.atlassian.fugue.Either$RightProjection.get(Either.java:453)
at com.atlassian.greenhopper.service.ServiceOutcomeImpl.get(ServiceOutcomeImpl.java:265)
at com.atlassian.greenhopper.service.ServiceOutcome$get$0.call(Unknown 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$4.call(Unknown Source)
at com.onresolve.jira.groovy.jql.ScriptedJqlFunction.validate(ScriptedJqlFunction.groovy:93)
Was this issue resolved? I have encountered the same issue just now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.