Overview
We'll start by creating a space template with a page layout for creating tasks. The purpose of this template is so we will have a general layout which can easily be changed and updated in the future.
By the end of this section your template should look something 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?
Steps
Create a new template
In your space
go to Space tools > Content Tools > Templates
choose Create New Template
set the title of the Template to the "Task"
Add table-data and a table to your new template
add a Table Data macro
set its Name parameter to "Task"
Within the Table Data macro
add a 4x2 table
In the first row of the table
enter "Assignee" ,"Task Description", "Due Date" and "Status" respectively for each cell
Configure the column data options
In the "Assignee" column
add a List Data macro in the second row
set its Name parameter to "User"
add a User Options macro within the List Data macro
If you want to select users associated to a specific Confluence group, set the Groups parameter in the User Options macro to a Confluence group name.
In the "Task Description" column
add a Text Data macro in the second row.
set its Name parameter to "Description"
In the "Due Date" column
add a Date Data macro in the second row
set its Name parameter to "Due Date"
In the "Status" column
add a List Data macro in the second row
set its Name parameter to "Status"
In this List Data macro (in the “Status” column)
add three List Option macros
for the first List Option macro
set the Value parameters to "Open"
To differentiate the List Option, add a Status macro and set its Name to "Open" and choose your desired color (grey is used in this example).
for the second List Option macro
set the Value parameters to "In Progress"
To differentiate the List Option stylish, add a Status macro and set its Name top "In Progress" and choose your desired color (yellow is used in this example).
for the third List Option macro
set the Value parameters to "Done"
To differentiate the List Option, add a Status macro and set its Name as "Done" and choose your desired color (Green is used in this example).
Save the page