Hi
My goal: trying to export an existing space from the same confluence cloud account to the same confluence cloud account with a different space name/key. At the same time remove inline comments and resolved comments.
Where I'm stuck: So far I have been able to script out the inline comments by removing references to the XML tag </ac:inline-comment-marker> and the associated data. The issue I am having is removing Resolved Comments for example:
I have been unable to find anything within the the XML file which differentiates the inline comments to the resolved comments. I have tried using the built in function when trying to do a custom export by unticking the box 'include comments'.
If I untick this box, run my script to rename the appropriate key name & space names and then import the space I receive the following error:
confluence space export include comments com.atlassian.confluence.importexport.ImportExportException: Unable to complete import: org.hibernate.exception.ConstraintViolationException: could not execute statement
Which seems to be a generic error.
Edit: I forgot to mention - if I leave this as default and 'Include Comments' the import is successful.
Any help would be greatly appreciated.
Kind regards
James