Archive spaces from Confluence database

DevOps March 24, 2017

Hello, 

I would like to clean up the spaces from Confluence that haven't been used in the last 3 months. Taking into consideration that are too many spaces that haven't been used lately (200+) , it will be difficult to archive one by one. 

There is a possibility to archive the unused Confluence spaces from the database? 

Thank you, 

 

1 answer

0 votes
Thomas Schlegel
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 24, 2017

There is an API call for that: https://answers.atlassian.com/questions/16883568

Maybe you can try that solution.

DevOps March 26, 2017

Hi Thomas,

Thank you for your answer. 

I managed to archive one space in Confluence using JSON RPC, but I'm still struggling to archive more than one space. From Atlassian documentation the Confluence method setSpaceStatus have parameters(String token, String spaceKey, String status).

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events