Forums

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

How to obtain page chainges from database.

pkosukhin
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!
December 1, 2021

I need to find all page versions, its content and changes in page from version to version.

Can be done via API, but couldn't find a way to do it via database using SQL

1 answer

1 vote
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 Leaders.
December 2, 2021

You would need to replicate all the code that goes into displaying the differences in the UI and the REST API output.

Confluence does not store differences, it generates them when you ask for them.  If you were to look in the database, you'd find a string of pages linked together as the history, not a set of changes.

It's better not to bother looking at the database, it's really not designed for reporting and often doesn't even store stuff you see on-screen.

Stick to extracting it with the REST API or plugin API, it's a lot less painful than SQL.

pkosukhin
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!
December 3, 2021

Thanks

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events