Do not rely on the Confluence ancestors table

Description

We currently use the data from the ancestors table to create links to other pages (if hierarchical URLs are configured). This produces invalid links if the ancestor table is out of sync.

Instead we could query the page parents recursively to get the same data, which is a bit slower but can't go out of sync.

Environment

None

Assignee

Unassigned

Reporter

Sync User [K15t]

Labels

Participants

None

Deployment

None

Components

Sprint

None

Fix versions

Configure