Skip to main content

planner task checklistitem add

Adds a new checklist item to a Planner task

Usage

m365 planner task checklistitem add [options]

Options

-i, --taskId <taskId>

ID of the task.

-t, --title <title>

Title of the checklist item.

--isChecked

Mark the checklist item as checked.

-h, --help [help]

Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, response, full. Default is options.

--query [query]

JMESPath query string. See http://jmespath.org/ for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.

--verbose

Runs command with verbose logging.

--debug

Runs command with debug logging.

Examples

Adds an unchecked checklist item with the specified title to a Microsoft Planner task with the specified ID.

m365 planner task checklistitem add --taskId 2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2 --title "My checklist item"

Adds a checked checklist item with the specified title to a Microsoft Planner task with the specified ID.

m365 planner task checklistitem add --taskId 2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2 --title "My checklist item" --isChecked

Response

{
"b65db83e-d777-49db-8cdd-57a41b86f48c": {
"isChecked": false,
"title": "Communicate with customer",
"orderHint": "8585269221832287402",
"lastModifiedDateTime": "2023-01-25T22:11:42.2488405Z",
"lastModifiedBy": {
"user": {
"displayName": null,
"id": "b2091e18-7882-4efe-b7d1-90703f5a5c65"
}
}
}
}
CTRL + M