The Tasklist macro allows you to create and update a list of tasks on the wiki page. Users viewing the page can modify the tasks without putting the page into 'Edit' mode, provided they have the required permissions to modify the page.

The tasklist macro is supplied by the Dynamic Tasklist 2 plugin, which is bundled with Confluence version 2.8 and later. The new tasklist macro replaces the older tasklist and dynamictasklist macros.

On this page:

Usage with the Macro Browser

To insert the tasklist macro into a page using the Macro Browser,

Once you've found the tasklist macro, click 'insert' to add it to your page.

Usage with the Wiki Markup Editor

To add a task list using the Wiki Markup Editor, you must first edit the page and then type the macro code:

{tasklist:NAME OF TASK LIST}

Here is an example:

What you need to type

What you will get

{tasklist:Planning a Holiday}

Parameters

Parameter

Required?

Default

Description

Title

no

'Task List'

The name of the task list. This is displayed as the title above the list of tasks. For example:

{tasklist:Things to Do}

(width)

no

530px

The width of the task list. For example, in Wiki Markup:

{tasklist:Things to Do|width=200px}
{tasklist:Things to Do|width=50%}

(enableLocking)

no

false

If you set this parameter to 'true', you will be able to lock individual tasks so that they cannot be changed. See instructions below on editing the task list. For example:

{tasklist:Things to Do|enableLocking=true}

Editing the Task List while Viewing a Page

While viewing a page, you can change the tasks in a task list as follows:

Once the task details are visible, you have more options:

Sorting the Tasks

There are two ways to sort the entries in the task list:

Using the 'Sort by' dropdown list to sort the tasks:

Dragging and dropping a task into a new position:

Viewing the Progress on Tasks Completed

The bar at the top of the task list displays two different colours, indicating the percentage of tasks completed.

Screenshot: Progress Bar on Task List

Editing the Wiki Markup for a Task List

The data for the task list is stored in the Confluence page. Most people will find it easier to add or modify tasks while viewing the page. But if you want to edit or even create the task list directly, you can do so by editing the page itself. Here is an example, showing the Wiki Markup for the above task list:

{tasklist:Planning a Holiday}
||Completed||Priority||Locked||CreatedDate||CompletedDate||Assignee||Name||
|F|M|F|1206677926204|          |smaddox|Book tickets|
|F|H|F|1206677938246|          |smaddox|Check passport expiry|
|F|M|F|1206677946737|          |smaddox|Apply for visa|
|F|M|F|1206677954490|          |smaddox|Buy suitcases|
{tasklist}
RELATED TOPICS

Working with Macros

Take me back to the Confluence User's Guide.