Skip to content

Enhancement: Add priority option to planner task add and planner task set #3383

@milanholemans

Description

@milanholemans

Description

Add an extra option called priority to commands planner task add and planner task set.

Priority field in the Planner UI:
image

Valid values

Name Value
Urgent 1
Important 3
Medium 5
Low 9

Option

Option Description
--priority [priority] Sets the priority of the specified Planner task. Value must be a number between 0 and 10. Planner interprets values 0 and 1 is "urgent", 2, 3 and 4 as "important", 5, 6 and 7 as "medium", and 8, 9 and 10 as "low".

Requests

Add task

POST https://graph.microsoft.com/v1.0/planner/tasks
{
   "planId": "abcdef",
   "bucketId": "ghijklm",
   "title": "Planner task title",
   "priority": 3
}

Update task

If-Match: {etag value}
PATCH https://graph.microsoft.com/v1.0/planner/tasks/{taskId}
{
   "priority": 5
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions