public moveTaskWithinProject ( string $projectId, string $taskToMove, string $taskReference, boolean $insertAfter = true ) : string | ||
$projectId | string | the project $taskReference is in and optionally $taskToMove is already in ($taskToMove will be added to the project if it's not already there) |
$taskToMove | string | the task that will be moved (and possibly added to $projectId |
$taskReference | string | the task that indicates a position for $taskToMove |
$insertAfter | boolean | true to insert after $taskReference, false to insert before |
return | string | JSON or null |