Set-AssignTask
  • 1 Minute to read
  • Dark
    Light
  • PDF

Set-AssignTask

  • Dark
    Light
  • PDF

Article summary

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

ParameterTypeRequired?Notes
TaskIdInt32YesThe task id.
UserIdStringNoThe user id to assign the task to. If not provided, the task will be unassigned.
IncludeFormsSwitchNo, Defaults to falseAdds the `Forms` property to the output.
IncludeProjectSwitchNo, Defaults to falseAdds the parent `Project` property to the output.

Examples

Assign a task to someone

# TODO