Say I have a variable called "status" within a page template in Confluence, and the possible values for that variable are 0, 1 and 2...
How do I create a table which displays the number of pages holding each status in a parent page or ideally my space overview page:
i.e.
Status Frequency
0 36
1 79
2 13
Hello @lefras
Here is an idea how to implement it:
Hello there! Thanks for sharing with the Community.
Your project looks interesting! Currently there is no native way to implement global (or space wide) variables in Confluence. The closest thing we could do is using labels and user macros for this:
Is there a macro for displaying a label count? - Confluence Cloud
How to count the number of child pages with a particular label? - Confluence Server
We have had some customers who were looking to have something similar implemented! You can check it in this thread here:
Can I use variables across multiple Confluence pages?
Let us know if our threads help you out! Looking forward to your reply.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Diego,
Has any progress been made on having a Variables ability with Confluence?
Alternatively, a way to set up a Filter to accept parameters so that a Confluence page using a Filter macro retains the parameter values as a report?
For example, a page showing a Filter macro to report on "Incidents last week", which lists the incidents which were created "last week", but then retains the dates of that week, so it can be used in an Automation to generate a weekly one.
Or even an Alternative to that: saving the output of a Filter as the parameter/input for a Confluence Page (section/macro).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.