The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

SQL Shows page in different space

Geeks
July 20, 2020

There are many pages on our site which, when opened, show as being where we expect them - in the space we wanted.  However I've just looked at the SQL table for content and found that many are shown there as being in a different space.  Any idea how this happens?

 

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Nic Brough -Adaptavist-
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 Champions.
July 20, 2020

The data structures have evolved over the years, and

  • You could be looking at the wrong fields
  • You may be seeing updated data from the caches

Simple answer - don't look in the database.  It is the single worst possible way you can report on Confluence data (and Jira while I'm here)

Why are you reading the database?  The UI data is correct, and the REST API will give you the right answers as well.

0 votes
Geeks
July 20, 2020

Thanks Nic.  I'm trying to get a list of all pages on the site including the space they are in.  I found https://confluence.atlassian.com/confkb/how-to-obtain-a-list-of-all-pages-their-authors-and-related-information-from-the-confluence-database-968687591.html

This is because we are looking at a design change to make it more transparent as to locations for finding and saving pages and will need a comprehensive list so we can move pages as required.

DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events