Situation: We are trying to via a script autogenerate content into a Confluence page. The page template uses the Macro Content by Label. We currently can create the page with most of the content we want, except creating the effect of the 'Content By Label' macro. We are not able to list other pages related to this topic 'label.'
Question: How can we reproduce the effect of Content by Label via code so that we display all of the pages having a certain label?
We looked at: https://confluence.atlassian.com/conf59/content-by-label-macro-792499087. But saw no way to do this as of yet.
We need a workaround. Obiwan, you're our only hope!