Unable to edit Sprint when Remaining Estimate and Time Spent is enabled.

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • 8.11.0
    • Affects Version/s: 8.8.1
    • Component/s: Sprint
    • 8.08
    • 4
    • Severity 3 - Minor
    • 1

      Issue Summary

      Unable to edit Sprint when Remaining Estimate and Time Spent is enabled.

      Steps to Reproduce

      1. Create a new Scrum board.
      2. Enable Remaining Estimate and Time Spent.
      3. Create a new Sprint in the board.
      4. Try to edit it.

      Expected Results

      • User is able to edit the Sprint

      Actual Results

      • Jira throws clauseValues is empty Javascript error and following exception is thrown in the atlassian-jira.log file:
      2020-05-07 20:57:35,901+0800 http-nio-8712-exec-5 ERROR vshanmugam 1257x2833x1 lcbqcc 127.0.0.1,127.0.0.1 /rest/greenhopper/1.0/sprint/5/start [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: clauseValues is empty
      java.lang.IllegalArgumentException: clauseValues is empty
      	at com.atlassian.jira.util.dbc.Assertions.not(Assertions.java:162)
      	at com.atlassian.jira.jql.builder.DefaultJqlClauseBuilder.addStringCondition(DefaultJqlClauseBuilder.java:781)
      	at com.atlassian.jira.jql.builder.DefaultJqlClauseBuilder.issueParent(DefaultJqlClauseBuilder.java:518)
      	at com.atlassian.greenhopper.web.rapid.sprint.StartSprintHelper.getParentsWithChildren(StartSprintHelper.java:298)
      	at com.atlassian.greenhopper.web.rapid.sprint.StartSprintHelper.getIssueWithoutTrackingEstimate(StartSprintHelper.java:249)
      	at com.atlassian.greenhopper.web.rapid.sprint.StartSprintHelper.loadIssuesInSprint(StartSprintHelper.java:154)
      	at com.atlassian.greenhopper.web.rapid.sprint.StartSprintResource$1.call(StartSprintResource.java:85)
      	at com.atlassian.greenhopper.web.rapid.sprint.StartSprintResource$1.call(StartSprintResource.java:78)
      	at com.atlassian.greenhopper.web.util.RestCall.response(RestCall.java:42)
      	at com.atlassian.greenhopper.web.AbstractResource.createResponse(AbstractResource.java:111)
      	at com.atlassian.greenhopper.web.AbstractResource.response(AbstractResource.java:91)
      	at com.atlassian.greenhopper.web.rapid.sprint.StartSprintResource.getModel(StartSprintResource.java:77)
      	... 3 filtered
      

      Workaround

      • Disable Remaining Estimate and Time Spent from board's estimate configuration page and users will be able to edit Sprint again.

            Assignee:
            Marcin Barzyk
            Reporter:
            Vicknesh Shanmugam (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: