how to set the last author and timestamp for uploaded page histories

I'm migrating content from various legacy wikis into Confluence.  I've managed to get the pages to load properly with their histories, but when I try to set the last author and timestamp information to their original values, Confluence refuses it, for understandable reasons.  But my clients don't want my name as the last author of all of their contents, or the upload time as the version date.

I have thought of two possible workarounds, neither of which I like:

  • upload the converted content to another instance, then export each space and modify the data in the export files and upload to the target instance
  • directly access the database

.Any other suggestions?

1 answer

Hi Brian,

Your workarounds are the only options I know of, and you can't access the database in the Cloud version, so you've only got option 1.

You might be able to find an add-on in the Atlassian Marketplace, although nothing jumps out as being able to do this (you might have more luck with a more thorough search though). Sorry I don't have better news for you....

I suspected as much, and your point about Cloud is well taken, though I don't think all of my clients are using it.  Regardless, it is the least preferable anyway because of the risk.  If something goes wrong with my transformation of the XML file, I've always got the original, but if I screw up the database...

I spent some time in an earlier life developing an XSLT file to replace elements from the exporting wiki with their equivalents in the new one, but had to abandon it before finishing.  That looks like the best way to do it, and it seems, under the circumstances, that someone must have done that already.

But that's probably best asked as a separate question, since I've already accepted this answer, though I might unaccept it in case someone else has an idea.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

801 views 38 5
Join discussion

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