getTaskFields($is_new = true); } protected function defineReturnType() { return 'nonempty dict'; } protected function defineErrorTypes() { return array( 'ERR-INVALID-PARAMETER' => 'Missing or malformed parameter.', ); } protected function execute(ConduitAPIRequest $request) { $task = ManiphestTask::initializeNewTask($request->getUser()); $task = $this->applyRequest($task, $request, $is_new = true); return $this->buildTaskInfoDictionary($task); } }