Before Confluence 7.1.0 we used the following, to automatically add labels in a user macro:
#set($labelManager=$containerContext.getComponent('labelManager'))#set($success = ${content.labelUtil.addLabel('label-text', $action.labelManager, $content)}) This does not longer work with the update to Confluence 7.1.0. There seems to be no label manager anymore.
How to programatically set labels via user macro in Confluence 7.1.0?