Part 4 - Building the Quality Assurance team dashboard

Overview

Finally, we'll create a dashboard for the Quality Assurance team, so that they can check the list of suggestions from the surveys.

By the end of this section you will 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 - How do I use Recipes that use the Storage Format with the Confluence Source Editor?

<ac:layout> <ac:layout-section ac:type="three_equal"> <ac:layout-cell> <p class="auto-cursor-target"> <br/> </p> <p class="auto-cursor-target"> <br/> </p> <p class="auto-cursor-target"> <br/> </p> </ac:layout-cell> <ac:layout-cell> <p> <br/> </p> <p> <br/> </p> <ac:structured-macro ac:macro-id="03d9c746-4be1-4608-a911-d1f2794d5399" ac:name="show-if" ac:schema-version="1"> <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter> <ac:parameter ac:name="group">quality-assurance</ac:parameter> <ac:rich-text-body> <ac:structured-macro ac:macro-id="7837b023-0620-4dc4-8421-a6235115a27f" ac:name="report-table" ac:schema-version="1"> <ac:rich-text-body> <ac:structured-macro ac:macro-id="661122ce-0a0a-4aa6-bf3d-c1bc8f07390b" ac:name="local-reporter" ac:schema-version="1"> <ac:parameter ac:name="">page:children</ac:parameter> <ac:rich-text-body> <p> <ac:structured-macro ac:macro-id="cf824de3-d687-49f4-9749-5c0c043d1563" ac:name="text-filter" ac:schema-version="1"> <ac:parameter ac:name="required">true</ac:parameter> <ac:parameter ac:name="">data:comment</ac:parameter> </ac:structured-macro> </p> </ac:rich-text-body> </ac:structured-macro> <ac:structured-macro ac:macro-id="d23eb24f-c1c0-4869-94f5-5a7446866941" ac:name="report-column" ac:schema-version="1"> <ac:parameter ac:name="title">Suggestions</ac:parameter> <ac:rich-text-body> <p> <ac:structured-macro ac:macro-id="da42849e-ab87-4546-b748-110382b605fe" ac:name="report-info" ac:schema-version="1"> <ac:parameter ac:name="render">richtext</ac:parameter> <ac:parameter ac:name="">data:comment</ac:parameter> </ac:structured-macro> </p> </ac:rich-text-body> </ac:structured-macro> </ac:rich-text-body> </ac:structured-macro> </ac:rich-text-body> </ac:structured-macro> <p> <br/> </p> <p> <br/> </p> </ac:layout-cell> <ac:layout-cell> <p class="auto-cursor-target"> <br/> </p> <p class="auto-cursor-target"> <br/> </p> </ac:layout-cell> </ac:layout-section> </ac:layout>

Steps

On a draft page

  • add a Show If macro

    • set the User Groups parameter to "quality-assurance".

Within the Show If macro

In this Report Table macro

  • create a Local Reporter macro

    • set the Key parameter to "page:children"

In this Local Reporter macro

  • add a Text Filter macro

    • set the Key parameter to "data:comment"

    • check the Required field parameter

Now within the Report Table macro

In this Report Column macro

  • add a Report Info macro

    • set the Key parameter to "data:comment"

Macro structure