The SQL to get all/lastest bodycontent of a page

Normann P_ Nielsen _Netic_
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.
February 13, 2025

What is the SQL from a known page id?

This:

SELECT bodycontentid FROM bodycontent WHERE contentid IN (SELECT contentid FROM content WHERE contenttype = 'PAGE' and pageid=238805062);

Returns 0 and this:

 

SELECT bodycontentid FROM bodycontent WHERE contentid IN (SELECT contentid FROM content WHERE pageid=238805062);

 

returns 15 - all stuff except the page. The page has 75 versions.

1 answer

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 25, 2025

Hi Normann,

Since no one has responded yet, you probably want to open a support ticket with Atlassian to get their feedback:

https://support.atlassian.com/contact/#/

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.15.8
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events