Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,464,402
Community Members
 
Community Events
176
Community Groups

Workarounds To Stop Automatic Creation of Personal Spaces in Confluence Cloud

Currently, if you have personal space creation enabled for your instance, a personal space (along with templated pages) is created automatically for each user that becomes active on Confluence.

Not all users want or need a personal space, and many may not use it. 

As a result, there has been a worry from some Admin that automatic space creation may cause unnecessary clutter on their instance and make searching for content harder.

What are some workarounds to stop personal spaces from being created automatically?

 

Workaround 1: Change the global settings to disable personal space creation completely

One simple workaround is to disable the ability to create personal spaces for your users completely. This will also disable the automatic creation of personal spaces whenever a user becomes active.

To do this, click the gear icon to go to Settings, scroll down to the Security section and select Global Permissions.

In the User groups tab, click Edit and uncheck the ability to create Personal Spaces for relevant user groups. Click Save.

Disable automatic personal space creation in confluence.png

However, the disadvantage of this method is that if a user wants to create a personal space and use it, they will not have the ability to do so if they belong to a group with Personal Space creation disabled.

 

Workaround 2: Set up an automation to automatically archive unused personal spaces on a regular basis

This workaround will still allow users to create a personal space if they want one. 

However, it will also address the problem of unused personal spaces cluttering your instance by automatically archiving unused personal spaces on a set schedule.

In Global Permissions, keep personal space creation ticked for your relevant user groups.

You will then need ScriptRunner for Confluence installed. ScriptRunner is free for up to 10 users and is available on a 30-day free trial. It is a powerful admin app designed to help you automate and customize Confluence.

  1. Copy this script from the Adaptavist Script Library. The script will search for and automatically archive any unused personal spaces and their attached pages on your instance.
  2. Go to ‘Script Jobs’ and click ‘Add Script Job’
  3. Add a name for the Script Job e.g. Archive unused personal spacesScreenshot 2022-01-31 at 23.26.08.png
  4. Keep the checkbox marked as ‘enabled’ if you want to turn the Script Job on
  5. Set the schedule you want it to run e.g. weekly
  6. Paste the script into the code box
  7. Click save
  8. The script will now continuously archive unused personal spaces according to the schedule you have set

You also have the option to run the script once by copying and pasting it into the ‘Script Console’, however, there is a script timeout limit of 120s (which can be raised by contacting support). 

The advantage of using a ‘Script Job’ is that it will keep archiving the unused personal spaces in batches until the whole instance is complete.

If a user has their unused personal space archived but then decides they do indeed want to use one, they are still able to create a new one.

Try this script with ScriptRunner for Confluence on a 30-day free trial today.

2 comments

Taranjeet Singh Community Leader Jan 31, 2022

Thanks for sharing this article, @Jessie Wang - Adaptavist ! It addresses a very common problem for new customers migrating to Confluence Cloud. And I believe these workarounds are also something that would help resolve their problem to some extent, until Atlassian comes up with some other solution/workaround.

Thanks for your comment @Taranjeet Singh and glad you find it helpful!

Comment

Log in or Sign up to comment
TAGS

Atlassian Community Events