Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-31056

Project Import from OnDemand XML backup to JIRA BTF throws the exception java.lang.illegalargumentexception

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • None
    • None
    • None
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      When Trying to project Import from an OnDemand XML backup, the following error is thrown:

      Cause:
      java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: [GenericEntity.set] "zip" is not a field of FileAttachment
      Stack Trace: [hide]
      java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: [GenericEntity.set] "zip" is not a field of FileAttachment
      at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
      at java.util.concurrent.FutureTask.get(FutureTask.java:83)
      at com.atlassian.jira.task.TaskDescriptorImpl.getResult(TaskDescriptorImpl.java:113)
      at com.atlassian.jira.web.bean.TaskDescriptorBean.getResult(TaskDescriptorBean.java:73)
      

      This is because the latest OnDemand version is 6.0 while JIRA is still 5.2.x, and project import only works when the XML backup and the JIRA version is the same. It would be convenient for our users to be able to do project import from OnDemand XML backup to BTF JIRA regardless of the OnDemand version.


      Another improvement would be to modify the Error Message, perhaps displaying "Unable to do Project Import due to the conflicting version between the instance and the XML backup"

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              isiagian Immanuel Siagian (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: