can't import from JIRA 7.1 Server to Cloud, content not allowed in prolog

I have a new JIRA atlassian.net account with JIRA and Confluence.  It's a day old.  I want to import my Server data to this account.  The server version is the latest.  It has been upgraded a few times, starting at version 4.something.  It uses SQL Server.  I backed up the data on the server.  I opened the zip, and sent the entities through the atlassian-xml-cleaner-0.1.jar.  I repackaged the entities and the activeobjects in a zip.  I did this on a Windows 10 laptop.

When I try to import the repackaged file from https://wpc-edi.atlassian.net/secure/admin/StudioImportSelect!start.jspa, I get:

    Import error

    There was an error importing file jira.cloud.zip: "There was an error parsing the entities.xml file:
    Content is not allowed in prolog.". Please try again or choose a different file.

Is there good advice about how I can stop trying to put content in my prolog?

TIA

1 answer

Ah, I see.  I used PowerShell as the shell where I executed the cleaner.  PSH likes to write UTF-16 files, no matter what.  The easiest resolution is to use a CMD shell, instead.  There is probably some instruction to explain to PSH that it should use the format of the original file.  I am sure I will stumble on it, one day.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Jira Service Desk

Looking for anyone who has switched from Zendesk to Jira Service Desk

Hi Community! The Jira Service Desk marketing team is looking for customers who have successfully switched from Zendesk to Jira Service Desk!   We’d love to hear your thoughts on the pros and ...

22 views 0 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you