Macro for Tasklist
Asked by Rochelle Lim:

Is there a macro in Confluence that would automatically add the checked (i.e. completed) vs unchecked (i.e. not completed) tasks in a checklist and tabulate them at the bottom of the page for a quick view of completed vs incomplete?


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi [@Rochelle Lim](/t5/user/viewprofilepage/user-id/2370224) ,

We can suggest using the [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview) app.

Here is the result that you can achieve with the help of the [Pivot Table](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Pivot+Table+macro) macro:

![Mon 2-1.png](https://community.atlassian.com/t5/image/serverpage/image-id/116661i64CE27E94ADD6153/image-size/large?v=v2&px=999 "Mon 2-1.png")

Insert two Task Report macros (one for complete tasks and one for incomplete ones because you can't get both at the same time) and wrap each macro in the Pivot Table macro:

![Mon 2-2.png](https://community.atlassian.com/t5/image/serverpage/image-id/116662iFDF5BDA90854D971/image-size/large?v=v2&px=999 "Mon 2-2.png")The Pivot Table macro settings are intuitive and Excel-like:

![Mon 2-3.png](https://community.atlassian.com/t5/image/serverpage/image-id/116663iC0AF06DAE7BB1218/image-size/large?v=v2&px=999 "Mon 2-3.png")Hope it helps.


author: Sven Schatter _Lively Apps_
body: Hi [@Rochelle Lim](/t5/user/viewprofilepage/user-id/2370224),

I'm one of the developers of the [Task Reminder for Confluence](https://marketplace.atlassian.com/apps/1214272/task-reminder-for-confluence?hosting=cloud&tab=overview) app. We know that Confluence is missing a lot of capabilities when it comes to creating reports on tasks. We are currently researching what capabilities are the most important and where and how these reports should be creatable and accessible.

I'd really like to hear more about your specific ideas and needs. If you'd like to tell me more, please send me an email to sven@livelyapps.com and we can discuss more details or maybe even schedule a call.

Cheers,  
Sven


author: Thomas Bowskill
body: Hi [@Rochelle Lim](/t5/user/viewprofilepage/user-id/2370224)

The [Task Report macro](https://support.atlassian.com/confluence-cloud/docs/insert-the-task-report-macro/) works well for this. You have a "Task status" field that you can set to show incomplete, complete or both. You can set the scope to be based on pages, spaces, labels -- it's pretty flexible.

I have these on pages for minutes, with both sitting in an expand macro -- side-by-side in a two-column layout, so people can click to expand and see what has been completed and what it still due.

Is that what you need?

comments: author: Rochelle Lim
body: But does it keep a running count of completed and incomplete tasks? We're trying to create a dashboard view across 20+ lists of the number of incomplete tasks and complete tasks without having to go in and manually count them.


author: Bill Bailey
body: Have you looked at the [task-report-macro](https://support.atlassian.com/confluence-cloud/docs/insert-the-task-report-macro/) ? If will allow you to generate a filtered list of tasks.

comments: author: Rochelle Lim
body: But does it keep a running count of completed and incomplete tasks? We're trying to create a dashboard view across 20+ lists of the number of incomplete tasks and complete tasks without having to go in and manually count them.


author: Bill Bailey
body: Yeah, it doesn't do that. But you can use the report to pull lists of tasks from multiple pages.

The problem is you are on the cloud, so you are limited in your options: builtin function or third-party plugin.


Tags: cloud

confluence-cloud