Part 4 - Creating the first component of the product manager dashboard

Next, let's build the the product manager dashboard.

We'll start with the first component of the product manager dashboard which contains a chart displaying the number of tasks team members have created.

By the end of this section you should have something that looks like this:

Source code

The following source code is shared using Confluence Storage Format, the XHTML-based format that Confluence uses to store the content of pages, page templates, blueprints, blog posts and comments.

For more information on how to use this source code on your Confluence, read the following article:

⚙️ Expand


  1. Add a Show If macro and set the User parameter to "product-manager".

  2. Inside the Show If macro, add a Chart macro.
    Set the Type to "bar" and dataDisplay to "after".

  3. Then create a Report Table macro inside the Show If macro.

  4. Within the Report Table macro, add a Grouping Reporter macro
    Set the Key and As parameters to "Task>data:User" and "Assignee" respectively. 

  5. Within the Grouping Reporter macro, add a Grouping Stats macro.
    Set the Key and As parameters to "Task>size" and "AssigneeTasks"  respectively.

  6. Still within the Grouping Reporter macro, create an Expanding Reporter macro.
    Set the Key and As parameters to "data:Task" and "Task" respectively.

  7. Within the Expanding Reporter macro, create a Local Reporter macro.
    Set the Key parameter to "page:children".

  8. Within the Report Table macro, add two Report Column macros.
    Set their Titles to "Assignee" and "Number of Tasks".

  9. In the "Assignee" Report Column macro, add a Report Info macro.
    Set the Key parameter to "Assignee"

  10. In the "Number of TasksReport Column macro, add a Report Info macro.
    Set the Key parameter to "AssigneeTasks>stats:item count".
    This is so we can get the value of the Scaffolding Description field.

Macro structure

add NEXT: Creating the second component of the product manager dashboard