Confluence Mass Change Of Owner
Asked by Roja Gurram:

Hi All,

Does anyone know if there is a feature to change, en mass, the owner of a given set of pages?

When folks leave the company, they leave behind a lot of orphaned pages that don't get supported because there is no clear owner of the content.

Googling the question doesn't seem to provide a clear answer.

Looking forward for your replies!!!


Answers:
author: Mykaela Doane
body: [@Roja Gurram](/t5/user/viewprofilepage/user-id/3627350) this is now possible, not in bulk but one by one. See here for more details: <https://community.atlassian.com/t5/Confluence-Cloud-articles/New-Assign-and-transfer-page-ownership/ba-p/2396313>

comments: author: P. Bryan Edge-Salois
body: It's possible in Bulk using Automations.


author: Stacy Monnahan
body: how do you use automations to do it in bulk?


author: Dylan Moore
body: Hey Stacy, i stumbled across your question trying to solve the same thing and I've managed to automate it out, steps below.

***Scope:***

* 2x series of child pages, each nestled under parent pages (referred to in this example as PARENT1 and PARENT2 - *more likely the parent id will be a series of number*s)
* PARENT1 and PARENT2 are both located in space ABC
  * Under these 2 parent pages there are 280 pages created by a user (USER-A).
  * These pages are updated daily by a service account (USER-SVC) daily and although USER-A isn't watching the pages, because they own the page they are getting 280 notifications daily.
* Intent is to re-assign ownership of all 280 pages to USER-SVC
  * Another use case similar to this could be when an employee leaves, assigning all pages they own to their team lead.

***Automation***

1. Navigate to automation from left toolbar when in space (ABC for me)
   1. You could also do this on a global scale but you risk impacting more pages than required.
2. Create rule
   1. Trigger: I chose scheduled for once every 5mins and turned it off when it had run (i tried manual trigger and only seemed to work on the page i triggered from)
   2. Component: "FOR Each: Add a Branch" - I selected Page branch and then specified where author is one of USER-A (this would be the person that currently owns the pages and wants to change ownership)
   3. Component: "IF: Add a condition" - I added a CQL condition which was just: ***parent = PARENT1 or parent = PARENT2***
      1. As above PARENT1 is most likely a string of numbers you will find in the URL of parent page
   4. Component: "THEN: Add an action" - I set this to change page owner and specified the user to be USER-SVC (aka our service account).

Hopefully this was clear to you/anyone else looking to bulk change ownership of a series of pages :)


author: Fraidy
body: Hi [@Dylan](/t5/user/viewprofilepage/user-id/5394471) ,

Thanks for your clear step by step instructions. I am trying to change the page owner of all pages within a certain space. The space includes very many parent pages (too many to count). Is there any shortcut to do this via automation?


author: Claude
body: A thousand thank you's for this tip [@Dylan Moore](/t5/user/viewprofilepage/user-id/5306594)

[@Fraidy](/t5/user/viewprofilepage/user-id/5451966) to do it to all pages, skip the parent part. To change the owner, just add an IF condition where the owner is NOT the intended owner.


author: Dominic Lagger
body: Hi [@Roja Gurram](/t5/user/viewprofilepage/user-id/3627350)

This is sadly not possible, even for one page it seems to be impossible.

Here I found a feature request:

* [CONFCLOUD-7247](https://jira.atlassian.com/browse/CONFCLOUD-7247)

There isn't a workaround for this.

Regards, Dominic


Tags: cloud

confluence-cloud