Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-3348

Using the Remove from Sprint function throws error when board is not selected

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 5.4.49
    • Fix Version/s: 5.5.2
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Sprint 48
    • Critical Points:
      0.8

      Description

      Using the AddRemoveFromSprint post function and removing an issue from the sprint throws an error if a board is not selected

      ERROR 2019-02-27 10:25:20,001 [scriptrunner.jira.workflow.ScriptWorkflowFunction] *************************************************************************************
      ERROR 2019-02-27 10:25:20,008 [scriptrunner.jira.workflow.ScriptWorkflowFunction] Script function failed on issue: SSPA-10, actionId: 21, file: null
      java.lang.NumberFormatException: For input string: ""
      	at com.onresolve.scriptrunner.canned.jira.utils.agile.AddRemoveFromSprint.doScript(AddRemoveFromSprint.groovy:191)
      	at AddRemoveFromSprint1_groovyProxy.doScript(Unknown Source)
      	at com.onresolve.scriptrunner.canned.CannedScript$doScript$1.call(Unknown Source)
      	at com.onresolve.scriptrunner.canned.jira.workflow.postfunctions.AddRemoveFromSprintProxy.doScript(AddRemoveFromSprintProxy.groovy:73)
      

        Attachments

          Activity

            People

            Assignee:
            tbatagiannis Thanos Batagiannis
            Reporter:
            tbatagiannis Thanos Batagiannis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: