Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-20541

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 8.11.0
    • 8.8.1
    • Sprint

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              mbarzyk@atlassian.com Marcin Barzyk
              vshanmugam Vicknesh Shanmugam (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: