Hello guys,
I am new to confluence and I really need your help. After hours of searching the web, I couldn’t find a solution for my issue.
I’m trying to display all the space Admins in confluence macro but it won’t render it. Here is my code
</tr>
#foreach ($space in $spaceManager.getAllSpaces())
<tr>
<td ><b>$space.getName()</b></td>
<td class="confluenceTd">
#foreach ($user in $spaceManager.getSpaceAdmins($space))
<p>#usernameLink($user.getName())</p>
#end
</td>
</tr>
#end
The problem seems to be with loading the space admins. Whenever I load the page it will give me the following error: Error occurred rendering template content
Please help me ! Thanks