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:

Adding a Task List to a Page

To add a task list, 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}

Using the Macro Parameters

Parameter

Default

Description

Example

Name

none

Name of the task list. The name is displayed as the title above the list of tasks.

{tasklist:Things to Do}

width

none

Width of the task list.

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

enableLocking

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.

{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 Confluence User Guide