diff --git a/src/applications/maniphest/controller/ManiphestTaskEditController.php b/src/applications/maniphest/controller/ManiphestTaskEditController.php index 57ea3da74f..cba05b3ec6 100644 --- a/src/applications/maniphest/controller/ManiphestTaskEditController.php +++ b/src/applications/maniphest/controller/ManiphestTaskEditController.php @@ -38,6 +38,18 @@ final class ManiphestTaskEditController extends ManiphestController { if ($default_projects) { $task->setProjectPHIDs(explode(';', $default_projects)); } + + $task->setDescription($request->getStr('description')); + + $assign = $request->getStr('assign'); + if (strlen($assign)) { + $assign_user = id(new PhabricatorUser())->loadOneWhere( + 'username = %s', + $assign); + if ($assign_user) { + $task->setOwnerPHID($assign_user->getPHID()); + } + } } $file_phids = $request->getArr('files', array());