In my user macro I am trying to list all pages through my confluence for defined label and then manipulate them (for example, sort by name).
I was searching through pageManager, but was not able to find what method can do it. Any ideas?
Here is an user macro which shows 10 pages of the label "test".
You get an list of ContentEntityObjects. You can try to sort the list.
#set( $label = $action.getLabelManager())
#set( $pageList = $label.getContentForLabel(0,10,$label.getLabel("test")).getList())
#foreach( $page in $pageList )
Hope this helps you
Hi Atlassian Community, Remote work has shifted how teams collaborate, and we’ve heard from many of you that Microsoft Teams has become mission critical to many of your workflows, from how you chat...
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