Details
-
Suggestion
-
Resolution: Won't Do
-
None
-
None
-
None
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
- relates to
-
JRACLOUD-31056 Project Import from OnDemand XML backup to JIRA BTF throws the exception java.lang.illegalargumentexception
- Closed