The Contributors Summary macro displays a table of contribution-based statistics for a set of pages. These statistics can be grouped according to individual pages or individual contributors. The default scope for this macro is an individual page, but this can be extended to include the immediate children or descendants of a specified page. The statistics cover the following types of contributions:
| On this page: |
A simple example of the Contributors Summary macro is shown in the screenshot below. It lists statistics for the number of times each contributor has edited, added comments and added labels to this page.
Screenshot: Example Contributors Summary table of statistics
In this example, all default parameter settings are used. For more information about this macro's parameters, refer to the Parameters section below.
Using the Contributors Summary Macro
To add the Contributors Summary macro to a page:
- In the Confluence editor, choose Insert > Other Macros.
- Find and select the required macro.
Parameters
When editing, you can click on the macro placeholder and choose Edit to display the parameters for this macro in the Macro Browser.
Parameters are options that you can set for Confluence macros to control the content or format of the macro output. The table below lists parameters for this macro that can be set in the Macro Browser.
Parameter | Default | Description |
---|---|---|
Group By | contributors | Specifies the basis for grouping contribution-based statistics:
|
Columns to Display | edits,comments,labels | Sets the columns that should appear in the table. The statistics or type of information presented depends on the basis for grouping set with the Group By parameter. Statistics may be calculated for:
|
Sort By | count | Sets the criterion used for sorting items in the table. The items sorted depend on the basis for grouping set with the Group By parameter. Sort criteria are:
|
Reverse Sort | false | Reverses the sort order of items in the table, as specified using the Sort By parameter. (Used only in conjunction with the Sort By parameter.) |
Maximum Number of Items | no limit | Limits the number of contributors or pages in the table to the value specified. If no number is specified, all items are included. |
Show Anonymous Contributions? | false | Includes individuals who have made anonymous contributions to a page. |
Show Zero Counts? | false | Sets whether contributors or pages are included for which a calculated statistic is zero. |
Page Name | current | Sets the page for which to calculate the contribution-based statistics. If no values for Page Name and Space(s) are specified, the current page is assumed. |
Label(s) | none | Restricts the contribution-based statistics to the specified labels only. You can specify one or more labels, each of which must be separated by a comma. |
Space(s) | current | Specifies the space key of the Confluence space which contains the specified page name or alternatively, specifies a scope of spaces to search. Space keys are case-sensitive.
|
Content Type | both pages and blog posts | Restricts page types to either pages (pages) or blog posts (blogposts). If no value is specified in the Macro Browser, both pages and blog posts are included. |
Blog Post Date | none | Specifies the publish date for a blog post. The date format required is: YYYY/MM/DD. |
Include Page Hierarchy | specified page only | Includes either the immediate children or all descendants of the specified page. If no value is indicated in the Macro Browser, only the specified page is included. |
Related Topics
Contributors Macro
Working with Macros
Take me back to the Confluence User's Guide.