Reporting plugin question: Reporting on users in certain groups

I am trying to pull up a list of users in a certain group within our Confluence instance. Problem is when I try to apply a filter on the user-report macro I retrieve no one from the users list. Down below is a the snippet I am using to get the user data, filter it, and get the user data I want to present.

{report-block:maxResults=10}

{user-reporter}
{user-reporter}

{report-body}
*Report For User:* {report-info:user:name}
*Full Name:* {report-info:user:full name}
*Groups:* {report-info:user:groups}
*Authored Pages Count:* {report-info:user:authored pages count}
----
{report-body}

{report-empty}
_No users listed_
{report-empty}
{report-block}

discovery_admin is a the group I want to pull user from but I am actually getting nothing out of it. Removing the filter generates a list of all users. There are users in this group for sure, but I my syntax may be incorrect for retrieving them.

Thanks!

1 answer

Hi Dan,

I'm not sure what filter you were trying to use, as that is probably where the problem lies. However, to get all users from 'discovery_admin', just add the 'group' parameter to your {user-reporter}. Eg:

{user-reporter:group=discovery_admin}

Hope that helps...

Regards,

David Peterson
CustomWare | Sydney, Australia | www.customware.net | david.peterson@customware.net
Australia: +61 2 9900 5700 | Malaysia: +60 173 283 768 | US: +1 888 707 0088 (toll free)
The rocket has launched! www.trainingrocket.com</div<>>

Hi David,

I actually have tried that as well. The odd thing is that it produces no results. It actually does not for many of the groups listed that we have. It does work for confluence-administrators (as an example). I also tried using the {User-list} macro to see if it could list out members in different groups and it would not detect groups I would list (such as discovery_admin).

Is there a reason that the plugin may not be picking up on many of the groups we have created in our Confluence instance?

Thanks!

Just wanted to add on to that but the difference between some groups is that the User field for when the report successfully reported those in a group (confluence-administrators) was filled with their unique ID (12 digit number) but the other groups that are reporting nothing have members in them but the Name field has lastname/,firstname or a username (jsmith11 for example).

Would this impact the performace of the reporting plugin? Hopefully that all made sense.

Thanks again!

Hi Dan, not sure why the naming convention would be affecting it. A more likely problem is if you have a mix of different sources for the users, such as LDAP, Active Directory, Crowd, etc. There have been reports of odd behaviour in some of these curcumstances, but I've never been able to test them due to not haveing an appropriate authentication server to test agains...

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

152 views 3 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you