diff --git a/src/applications/maniphest/storage/ManiphestTask.php b/src/applications/maniphest/storage/ManiphestTask.php index f03bc277ac..ebcdef691d 100644 --- a/src/applications/maniphest/storage/ManiphestTask.php +++ b/src/applications/maniphest/storage/ManiphestTask.php @@ -473,6 +473,10 @@ final class ManiphestTask extends ManiphestDAO ->setKey('title') ->setType('string') ->setDescription(pht('The title of the task.')), + id(new PhabricatorConduitSearchFieldSpecification()) + ->setKey('description') + ->setType('remarkup') + ->setDescription(pht('The task description.')), id(new PhabricatorConduitSearchFieldSpecification()) ->setKey('authorPHID') ->setType('phid') @@ -501,7 +505,6 @@ final class ManiphestTask extends ManiphestDAO } public function getFieldValuesForConduit() { - $status_value = $this->getStatus(); $status_info = array( 'value' => $status_value, @@ -519,6 +522,9 @@ final class ManiphestTask extends ManiphestDAO return array( 'name' => $this->getTitle(), + 'description' => array( + 'raw' => $this->getDescription(), + ), 'authorPHID' => $this->getAuthorPHID(), 'ownerPHID' => $this->getOwnerPHID(), 'status' => $status_info,