I'm trying to write a bit of code that pulls the @ user mention details from a specific line in the page properties of a particular page.
I'm using the PagePropertiesService with getReportFromContent(page) and then getAllMacroInstances().
I can then iterate through list returned by getAllMacroInstances(). I can locate the page property am looking for BUT getDetailStorageFormat() returns a blank string.
If I use a page property that is just a string typed into the page rather than a macro I get the expected text. It appears that getDetailStorageFormat() does not work when there is a macro involved.
It also appears that the PagePropertiesService is an undocumented API.
I borrowed quite a bit of code from here:
https://community.atlassian.com/t5/Confluence-questions/How-can-I-filter-my-Confluence-search-by-page-properties/qaq-p/953887
Has anyone else tried this?