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

I have a new JIRA 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!start.jspa, I get:

    Import error

    There was an error importing file "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?


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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Fadoua M. Boualem
Published 8 hours ago in Trello

Using Trello to manage events

As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...

277 views 4 4
Read article

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