Dashboard > Atlassian Plugins > ... > Macros > user-reporter
  Atlassian Plugins Log In | Sign Up   View a printable version of the current page.  
  user-reporter

Added by david , last edited by David Peterson on Feb 27, 2007  (view change)
Labels: 

{user-reporter}

Plugin: Reporting Plugin, from version 1.0

Reports on Confluence users matching the specified criteria.

Description

This macro must be used within a report display macro (e.g. report-list or report-table). It will find a list of users matching the specified criteria. The users' details can be accessed via the User Supplier. For example, to get the user's full name, use the report-info macro like so:

{report-info:user:full name}

Usage

{user-reporter:user=[usernames]|group=[group names]|space=SPACEKEY > view/edit/admin/news}
  {xxx-sort:item:key|order=[ascending, descending]}
  {xxx-filter:item:key|extra parameters go here}
{user-reporter}

Parameters

Name Required Default Description
user(s)
The comma-separated list of usernames to report on.
group(s)
The comma-separated list of groups the users have membership in. Each group name may be prefixed with a '+' (to indicate the group is required) or '-' (to indicate the group should be excluded). E.g. "+foo, -bar" will include only users in the 'foo' group who are not also in the 'bar' group.
space(s)
KEY > permission - the comma-separated list of spaces where the user must have certain permissions on. By default, the permission is 'view'. Otherwise, you may specify one of the following after the '>':
  • view - (default) the user can view the space.
  • edit - the user can edit pages.
  • admin - the user has administration access.
  • news - the user can post a news entry.
  • comment - the user can post a comment.

Recipes

See Also

Anonymous

Although I have entered the group parameter to exclude some users on a report I am creating, the output is still inclduing every confluence user. I would appreciate any insight on this one.

Could you post the code you're using for the reporter? Be sure to put it in a {noformat} macro or I won't be able to see it.

Update: I checked it out and there was a bug with testing groups. Upgrading to Reporting Plugin 1.0.1 should solve the problem.

Copyright(c) CustomWare Asia Pacific Pty Ltd
Powered by Atlassian Confluence 2.7.3, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators