Contributors Macro

The Contributors macro displays a list of Confluence users who have made a contribution of some type to a page. It can also be used to list watchers of the page.

The scope of this macro can be extended to include the immediate children or descendants of the specified page. The list of contributors can be based on people who have:

  • authored or edited the page(s)
  • contributed comments or added labels to the page(s), or
  • are simply watching the page(s).

Screenshot: Example list of Contributors

In this example, the Display Format parameter has been set to list.

Using the Contributors Macro

To add the Contributors macro to a page:

  1. In the Confluence editor, choose Insert > Other Macros
  2. Find and select the required macro

Speeding up macro entry with autocomplete: Type { and the beginning of the macro name, to see a list of suggested macros. Details are in Autocomplete for links, files, macros and mentions.

To edit an existing macro: Click the macro placeholder and choose Edit. A macro dialog window will open, where you can edit the parameters of the macro.


Parameters are options that you can set to control the content or format of the macro output. Where the parameter name used in Confluence storage format or wikimarkup is different to the label used in the macro browser, it will be listed below in brackets (example).




Contribution Type


Filters by either the type of contribution made to a page (and optionally its descendant pages), or the watches on the page. Contribution types are:

  • authors - includes people who created or have edited the page(s)
  • comments - includes people who have added comments to the page(s)
  • labels - includes people who have added labels to the page(s)
  • watches - includes people who are watching the page(s).

    You can specify one or more contribution types, separated by commas.

Sort By


Specifies the criteria used to sort contributors. Sort criteria are:

  • count - sorts people based on the total number of contributions to the page(s)
  • name - sorts people into alphabetical order
  • update - sorts people based on the date of their last contribution to the page(s).

Reverse Sort


Reverses the sort order of contributors in the list. Must be used in conjunction with the Sort By parameter.

Maximum Number of Contributors


no limit

Limits the number of contributors in the list. If a number is not specified, all contributors are included.

Display Format


Sets how the list of contributor's names is formatted:

  • inline — a comma-separated list
  • list — a bullet list.

Show Anonymous Contributions?


Sets whether to include those who contributed anonymously to a page.

Show Count?


Sets whether to show the number of times each person made a contribution of the specified Contribution Type.

Show Last Contribution Time?


Sets whether to show the last time each person made a contribution of the specified Contribution Type.

Page Name


Specifies the page to use when generating the list of contributors. If Page Name and Space(s) are left blank, the current page is assumed.



Filters the list of contributors to those who created the specified labels from a page. You can specify one or more labels, separated by commas.



Specifies the space key of the Confluence space that contains the page set in Page Name or alternatively, specifies the spaces to search. Space keys are case-sensitive.

This parameter also takes special values, including:

  • @global — All site spaces.
  • @personal — All personal spaces.
  • @all — All spaces in your Confluence site.

    You can specify one or more space keys or special values, separated by commas.

    If no Page Name and Label(s) are specified, all pages from the specified set of spaces are included.

Content Type

both pages and blog posts

Restricts the content type to use when generating the list of contributors:

  • pages — pages
  • blogposts — blog posts.

Blog Post Date


Specifies the publish date for a blog post. The date format required is: YYYY/MM/DD.

Include Page Hierarchy

specified page only

Specifies additional pages to include when generating the list of contributors:

  • children — just the child pages of the specified page
  • descendants — all descendants of the specified page.

Show Selected Pages


Sets whether to show a list of the pages used to generate the list of contributors.

Custom "None Found" Message

default message

Specifies the message to be used to override the default message that is displayed when no contributors are found.

Code examples

The following examples are provided for advanced users who want to inspect or edit the underlying markup for a Confluence page. 

Macro name: contributors

Macro body: None.

Storage format example

This example specifies a content type of blog posts:

<ac:macro ac:name="contributors">
    <ac:parameter ac:name="limit">10</ac:parameter>
    <ac:parameter ac:name="spaces">ds,@personal</ac:parameter>
    <ac:parameter ac:name="reverse">true</ac:parameter>
    <ac:parameter ac:name="labels">chocolate,cake</ac:parameter>
    <ac:parameter ac:name="showPages">true</ac:parameter>
    <ac:parameter ac:name="noneFoundMessage">Oh dear, no contributors found</ac:parameter>
    <ac:parameter ac:name="showCount">true</ac:parameter>
    <ac:parameter ac:name="contentType">blogposts</ac:parameter>
    <ac:parameter ac:name="include">authors,comments,labels,watches</ac:parameter>
    <ac:parameter ac:name="mode">list</ac:parameter>
    <ac:parameter ac:name="showAnonymous">true</ac:parameter>
    <ac:parameter ac:name="order">update</ac:parameter>
    <ac:parameter ac:name="showLastTime">true</ac:parameter>
    <ac:parameter ac:name="publishDate">2012/06/30</ac:parameter>

Wikimarkup example

This example specifies a content type of blog posts:

{contributors:limit=10|spaces=ds,@personal|reverse=true|labels=chocolate,cake|showPages=true|noneFoundMessage=Oh dear, no contributors found|showCount=true|contentType=blogposts|include=authors,comments,labels,watches|mode=list|showAnonymous=true|order=update|showLastTime=true|publishDate=2012/06/30}

This example specifies a content type of pages:

{contributors:limit=10|spaces=ds,@personal|reverse=true|scope=descendants|labels=chocolate,cake|showPages=true|noneFoundMessage=Oh dear, no contributors found|showCount=true|contentType=pages|include=authors,comments,labels,watches|mode=list|showAnonymous=true|order=update|page=ds:Advanced Topics|showLastTime=true}

Was this helpful?

Thanks for your feedback!

Why was this unhelpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport