Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence Space Import XML without inline or resolved comments

James Mudie
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 3, 2018

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: Resolved_Comments.png 

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

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events