Is there a way to export a list of all space keys?

Cindy April 28, 2017

Is there a way to export a list of space keys (including personal spaces) in Confluence? Or a way to run a JQL query for this data?

Thanks!

2 answers

1 accepted

2 votes
Answer accepted
AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 28, 2017

I didn't find a way in the Confluence interface but if you have access to the database you can run a SQL query:

select spacename, spacekey from spaces;
Cindy May 5, 2017

Thank you!!

6 votes
Davin Studer
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.
May 5, 2017

You could use the REST API.

http(s)://{your server}/rest/api/space?limit=500

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events