Forums

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

list of spaces created by inactive owners

Kalyan Majji
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!
October 10, 2022

Hi, Need some help to find out the spaces created by present inactive owners and not being used from an long time.

Need to get the list and delete them.

Thanks,

Kalyan.

1 answer

0 votes
AAMIR ANSARI
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 10, 2022

Hi @Kalyan Majji 

You can try the below query to get the list of spaces created by inactive users.

SELECT DISTINCT s.spaceid,
                c.user_name,
                s.spacename,
                s.spacekey,
                c.active
FROM SPACES AS s
JOIN user_mapping AS u ON s.creator = u.user_key
JOIN cwd_user AS c ON c.lower_user_name = u.lower_username
WHERE spacekey LIKE '~%'
  AND c.active = 'F';

Once the spaces are identified, through admin rights, you can delete those spaces.

Regards,

Aamir

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.13.8
TAGS
AUG Leaders

Atlassian Community Events