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:
Has anyone else tried this?
Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond. A long time favorite, Team Cale...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events