We used the Confluence CLI to create a PILE of pages and attachments from our old Sharepoint site. Some of these must give JIRA heartburn.
We have Application Links working between Confluence and JIRA, but when you try to search for Confluence pages from JIRA, and you pick the Development or Production space (where the PILES got added), the search craps out with
The JIRA server was contacted but has returned an error response. We are unsure of the result of this operation.
Works fine in all of the other spaces. In the log, I see the error (Failed to parse Confluence Remote API response), followed about 500 lines later by
Caused by: org.xml.sax.SAXParseException: Character reference "" is an invalid XML character.
I would like to be able to clean up the pages and/or attachments that are causing this. Is there an EASY way to find the pages/attachments? And also an EASY way to find the offending content within them?
Maybe a SQL query from someone who knows the db structure well??
Community moderators have prevented the ability to post new answers.
JIRA used to use atlassian-xml-cleaner-0.1.jar to clean invalid characters from XML backup as described here. I belive the same can be done in Confluence as well.
You could either export your whole Confluence to XML or export certain pages or a Space to XML:
java -jar atlassian-xml-cleaner-0.1.jar entities.xml > entities-clean.xml
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.