...
This recipe displays a list of all available spaces in the Confluence instance and sort it alphabetically.
Result
...
Recipe
Apps | Reporting for Confluence Server & Data Center |
---|---|
Level | Intermediate |
Estimated time | 5 minutes |
Macros | Report Block, Report Body, Report Info, Space Reporter, Text Sort |
Suppliers | Space Supplier |
Storage format
You can copy and paste this code into the Confluence Source Editor:
...
You can recreate the example in the editor view:
...
Steps
Line | Description |
---|---|
1 | The report will be formatted as a table with Report Block. |
2 | Space Reporter retrieves all spaces within Confluence. |
3 | Text Sort is used to sort the table by space name, keychain: 'space:name'. |
4 | Report Body is used as a container for displayed contents. |
5 | Report Info here outputs a link to the individual space, by setting supplier key to 'Space Supplier'. Link parameter is set to 'true'. |
6 | Report Info here outputs the space key, by setting supplier key to 'Space Supplier'. |
Line-by-Line Explanation
N/A