Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create the contributors bridge macro #106

Closed
snazare opened this issue Jan 6, 2023 · 1 comment
Closed

Create the contributors bridge macro #106

snazare opened this issue Jan 6, 2023 · 1 comment
Assignees
Milestone

Comments

@snazare
Copy link

snazare commented Jan 6, 2023

Please implement the contributors macro.

Minimum parameters: order, limit, page, labels, spaces

Parameter Default Description
Contribution Type(include) authors 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(order) count 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 orderupdate - sorts people based on the date of their last contribution to the page(s).
Reverse Sort(reverse) false Reverses the sort order of contributors in the list. Must be used in conjunction with the Sort By parameter.
Maximum Number of Contributors(limit) no limit Limits the number of contributors in the list. If a number is not specified, all contributors are included.
Display Format(mode) inline Sets how the list of contributor's names is formatted:inline — a comma-separated listlist — a bullet list.
Show Anonymous Contributions?(showAnonymous) false Sets whether to include those who contributed anonymously to a page.
Show Count?(showCount) false Sets whether to show the number of times each person made a contribution of the specified Contribution Type.
Show Last Contribution Time?(showLastTime) false Sets whether to show the last time each person made a contribution of the specified Contribution Type.
Page Name(page) current 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.
Label(s)(labels) none 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.
Space(s)(spaces) current 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(contentType) both pages and blog posts Restricts the content type to use when generating the list of contributors:pages — pagesblogposts — blog posts.
Blog Post Date(publishDate) none Specifies the publish date for a blog post. The date format required is: YYYY/MM/DD.
Include Page Hierarchy(scope) specified page only Specifies additional pages to include when generating the list of contributors:children — just the child pages of the specified pagedescendants — all descendants of the specified page.
Show Selected Pages(showPages) false Sets whether to show a list of the pages used to generate the list of contributors.
Custom "None Found" Message(noneFoundMessage) default message Specifies the message to be used to override the default message that is displayed when no contributors are found.

https://confluence.atlassian.com/doc/contributors-macro-183468956.html

@snazare snazare added this to the 1.8 milestone Jan 6, 2023
@oanalavinia oanalavinia modified the milestones: 1.8, 1.9 May 3, 2023
@trrenty trrenty removed this from the 1.9 milestone May 25, 2023
@raphj raphj assigned raphj and unassigned clemdee Nov 13, 2023
@raphj
Copy link
Contributor

raphj commented Nov 15, 2023

Implemented with support for these parameters: include, order, reverse, limit, mode, showCount, showLastTime, page, spaces, scope, showPages, noneFoundMessage.

raphj added a commit that referenced this issue Nov 15, 2023
@raphj raphj closed this as completed Nov 15, 2023
@raphj raphj added this to the 1.13 milestone Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

5 participants