Is there a way to change the creator of a page on Confluence Cloud?

Alan Oehler January 30, 2018

I've just used a add-on to import a couple of hundred HTML files from another CMS to Confluence. The author of the pages was set by the add-on to be "Confluence Pandoc Connect." I would really like to be able to set these to the name of the person that actually created them, but there doesn't seem to be a straightforward way to do this. Am I missing something?

5 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 31, 2018

Hi Alan,

This is not currently possible, but we have this feature request for it:

The workaround listed is not available for Cloud, but you may be able to do it first on a Server instance.

  1. Setup a Server instance of Confluence.
  2. Import your HTML files there.
  3. Perform the change in the database per the above article.
  4. Export the site from Confluence Server
  5. Import the site into Confluence Cloud.

If you have any questions, please let me know.

Regards,

Shannon

Alan Oehler January 31, 2018

Thanks, Shannon. We have a server instance we use for internal docs. The problem now is: the article with the workaround says simply "Run this SQL query against your database..." How does one do that? A Google Search turns up a bunch of different approaches, some of which involve buying an add-on, which I'd rather not do.
 

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 31, 2018

Most databases come with a command line tool for direct access, and there are visual/gui database tools for most of them available as well.  What database is it?

Alan Oehler January 31, 2018

Well, that's the issue, Nic; I don't know. I was not involved with the Confluence installation so I don't really know where it is so that I can address the DB. 

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 31, 2018

Have a look at the system information page, that will give you everything but the password to connect to it!

Alan Oehler January 31, 2018

Thanks, Nic, I'll give that a look.

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 1, 2018

Alan,

As Nic said, you can find the server info minus the password to connect. You may have luck asking your server administration team and they may have access to the database to connect.

If you have any trouble do let us know and we can advise you.

Regards,

Shannon

2 votes
Barry Flower January 31, 2019

Copy the page and then rename.  Delete the original.

LM January 27, 2023

Then links to the original page are broken!  Not an acceptable solution.

Iain Davidson March 9, 2023

I agree with the above statement of "links to the original page .. not an acceptable solution"  along with "the editing history" is also lost on a page copy.

1 vote
Chris Wellington July 17, 2021

You can change in bulk the creator of a page with the use of the export/import space feature by editing the entities.xml file.   Modify the atlassianAccountId.

<property name="atlassianAccountId"><![CDATA[10f362f6dd1f700072420abc]]></property>

Carry Megens June 8, 2022

Nice workaround (there is no Like for your to the point solution) Yet, hacking XML is not for the faint at heart and to export and import a space is also rather heavy for just changing one author on one page. Make it more easy possible Atlassian. Long standing request.

0 votes
Lee Rahn August 28, 2018

Has there been any UI changes that allow this to be done yet?

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 29, 2018

Hi Lee,

At this time, it's not yet possible.

My recommendation would be to follow the request below for updates:

Thank you for your understanding!

Regards,

Shannon

0 votes
Alan Oehler February 1, 2018

Yikes, this whole workaround just gets nastier and nastier. I can easily export the space from my cloud instance, but can't seem to import it into the on-premise instance. From looking at the docs, there's this: 

https://confluence.atlassian.com/doc/restoring-a-space-152036.html

I tried to do what it described but I get this message after a couple of minutes:

Import failed. Check your server logs for more information. Error putting scheduler on standby just prior to backup restore. Please wait a few minutes before trying again. If this error persists, please try restarting the server.

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 5, 2018

Hi Alan,

Can you clarify what you've done so far? It's unclear which step you're on as there wasn't a step to import a space into Server:

  1. Import HTML Files into Server instance
  2. Edit the creator in the database
  3. Export the entire site or space from Server (space import is necessary if your Cloud instance also includes Jira)
  4. Import into Cloud

Could you let me know where in this process you are? 

Regards,

Shannon

Alan Oehler February 5, 2018

Well, I had already imported the original source files into the cloud instance, as you may recall from my initial post here, and had already been arranging and organizing them. I assumed that the step "Import HTML Files into Server instance" could be accomplished by exporting the files from the cloud instance and importing them into the on-prem server instance. But I could not get the import step to work, so that's where I'm stuck.

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 5, 2018

I see. Thank you for clarifying, Alan! I think that should work, too.

Have you seen this article?

It has a way to fix the issue but if it doesn't apply to your case, could you have a look at your Confluence Server logs in your Confluence home directory: /logs/atlassian-confluence.log? You should see further error details about what exactly is failing in the import.

Please feel free to provide the relevant lines here.

Regards,

Shannon

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events