Importing Workflow XML Fails due to Parsing Error

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

When importing a workflow, JIRA throws the following error:


Error parsing workflow XML: The document type declaration for root element type "workflow" must end with '>' (line:2 col: 20). Please see log for more details.

Cause

The JIRA Administrator copied and pasted the workflow XML displayed in Internet Explorer to a file. This will not work, as Internet Explorer adds '-'c characters at the begining of each tag.

Resolution

Instead of copy and pasting the XML, choose File >> Save As to save the XML content to a file.


Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.