I am trying to construct a table of pages with the page status as one column, but I cannot find the java method which will return the page status. I tried inserting the page status macro into the newly created macro, but it takes too long to render the table.
If someone could help me find the correct method or help me find the source code for the page status macro, that would be greatly appreciated. Thank you
You can use page properties macro on each page that will contain information about the page and status and later show this in a table using Page Properties Report.
https://confluence.atlassian.com/doc/page-properties-macro-184550024.html
Thank you for the help, but I am constructing a table with hundreds of entries, and embedding a macro into my table will take too long to render. Do you know the java method that is used to read page status? I cannot find it in the API.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
According to this issue - https://jira.atlassian.com/browse/CONFSERVER-31081 it should bee possible to get Page Properties Values using REST API. It should be done via masterdetail
service:
/rest/masterdetail/1.0/detailssummary.json
You can use REST API browser to explore that - https://developer.atlassian.com/server/framework/atlassian-sdk/using-the-rest-api-browser/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.