Hello,
i want to write a User Macro that filters spaces by space labels. There are some Spaces with the labels 'old' and 'new'. The macro shuold be placed in the header and whatch at the label and then show the 'old-header' or the 'new-header'. Moreover i want to get the space with the space label 'actual' to display it in the 'old-header'.
Is there a possibility to filter by space labels in a user macro or any suggestion for my problem?
Bye,
Tim
Community moderators have prevented the ability to post new answers.
There is the SpaceLabelManager, which returns a list of labels for a given space.
to retrieve an instance, perhaps this helps:
http://www.communardo.de/home/techblog/2011/05/18/using-confluence-api-managers-in-user-macros/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.