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

Attempting to drag an issue into a version displays an Internal Server Error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 6.3.13.1, 7.1.2, 7.4.0, 7.3.8, 8.2.3, 8.5.0, 8.5.1
    • None

    Description

      Summary

      When dragging an issue into a version on the Scrum planning board, the issue is not updated and an 'Internal Server Error' is displayed.

      Steps to Reproduce

      1. Create a Sample Scrum Project.
      2. Add one of the issues, for example SSP-10 to version 2.
      3. Archive version 2.
      4. Drag that issue into version 3.

      Expected Results

      The issue updates the version to 3, and removes the archived versions as listed in the Confirmation screenshot.

      Actual Results

      An 'Internal Server Error' is thrown and the below errors appear in the logs:

      2014-05-20 16:32:28,444 http-bio-60625-exec-24 ERROR admin 992x897x1 ujh0b0 127.0.0.1 /rest/greenhopper/1.0/xboard/issue/fixversion/set [web.rapid.issue.IssueResource] Unable to complete GreenHopper REST method
      java.lang.UnsupportedOperationException
      	at java.util.AbstractCollection.add(AbstractCollection.java:260)
      	at java.util.AbstractCollection.addAll(AbstractCollection.java:342)
      	at com.atlassian.jira.issue.fields.AbstractVersionsSystemField.getUpdatedVersions(AbstractVersionsSystemField.java:491)
      	at com.atlassian.jira.issue.fields.AbstractVersionsSystemField.updateValue(AbstractVersionsSystemField.java:391)
      	at com.atlassian.jira.issue.managers.DefaultIssueManager.updateFieldValues(DefaultIssueManager.java:802)
      	at com.atlassian.jira.issue.managers.DefaultIssueManager.updateIssue(DefaultIssueManager.java:767)  <+3> (NativeMethodAccessorImpl.java:57) (DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)
      	at com.sun.proxy.$Proxy22.updateIssue(Unknown Source)  <+3> (NativeMethodAccessorImpl.java:57) (DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)
      	at com.sun.proxy.$Proxy22.updateIssue(Unknown Source)
      	at com.atlassian.greenhopper.service.version.VersionServiceImpl.setFixVersions(VersionServiceImpl.java:255)
      	at com.atlassian.greenhopper.web.rapid.issue.IssueResource.setFixVersion(IssueResource.java:377)
      	at com.atlassian.greenhopper.web.rapid.issue.IssueResource.access$1500(IssueResource.java:54)
      	at com.atlassian.greenhopper.web.rapid.issue.IssueResource$6.call(IssueResource.java:286)
      	at com.atlassian.greenhopper.web.rapid.issue.IssueResource$6.call(IssueResource.java:268)
      	at com.atlassian.greenhopper.web.util.RestCall.response(RestCall.java:48)
      	at com.atlassian.greenhopper.web.AbstractResource.response(AbstractResource.java:60)
      
      
      

      Workaround

      1. Unarchive and unrelease the archived version(s) on that issue.
      2. Release the version and move issues to another version as per the released screenshot.
      3. Archive the version again.

      Attachments

        1. Confirmation.png
          Confirmation.png
          15 kB
        2. Internal Server Error.png
          Internal Server Error.png
          189 kB
        3. Release.png
          Release.png
          29 kB

        Activity

          People

            Unassigned Unassigned
            dcurrie@atlassian.com Dave C
            Votes:
            15 Vote for this issue
            Watchers:
            18 Start watching this issue

            Dates

              Created:
              Updated: