Set-AssignTask
- 1 Minute to read
- Print
- DarkLight
- PDF
Set-AssignTask
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Summary
Assign a task to someone or remove assignment.
Assigning a task will place the task status into `In Progress` if the task was previously in the `New` state whereas removing an existing assignment will place the task status into `New`.
Set-AssignTask
-TaskId
-UserId
-IncludeForms
-IncludeProject
Returns a task object.
Parameters
Parameter | Type | Required? | Notes |
---|---|---|---|
TaskId | Int32 | Yes | The task id. |
UserId | String | No | The user id to assign the task to. If not provided, the task will be unassigned. |
IncludeForms | Switch | No, Defaults to false | Adds the `Forms` property to the output. |
IncludeProject | Switch | No, Defaults to false | Adds the parent `Project` property to the output. |
Examples
Assign a task to someone
# TODO