diff --git a/api/v1/entries/bug.php b/api/v1/entries/bug.php index d36634bc22..82bebe2f6d 100644 --- a/api/v1/entries/bug.php +++ b/api/v1/entries/bug.php @@ -95,7 +95,7 @@ class bugEntry extends entry $oldBug = $this->loadModel('bug')->getByID($bugID); /* Set $_POST variables. */ - $fields = 'uid,title,project,execution,openedBuild,assignedTo,pri,severity,type,story,resolvedBy,resolvedBuild,resolvedDate,closedBy,resolution,product,plan,task,module,steps,mailto,keywords,deadline'; + $fields = 'uid,title,project,execution,openedBuild,assignedTo,pri,severity,type,story,resolvedBy,resolvedBuild,resolvedDate,closedBy,resolution,product,plan,task,module,steps,mailto,keywords,deadline,os,browser,feedbackBy'; $this->batchSetPost($fields, $oldBug); $this->setPost('notifyEmail', implode(',', $this->request('notifyEmail', array()))); diff --git a/api/v1/entries/bugs.php b/api/v1/entries/bugs.php index 3b2039363a..20820e29fa 100644 --- a/api/v1/entries/bugs.php +++ b/api/v1/entries/bugs.php @@ -66,7 +66,7 @@ class bugsEntry extends entry $control = $this->loadController('bug', 'create'); - $fields = 'title,project,execution,openedBuild,browser,os,assignedTo,pri,module,severity,type,story,task,mailto,keywords,steps,uid,deadline'; + $fields = 'title,project,execution,openedBuild,browser,os,assignedTo,pri,module,severity,type,story,task,mailto,keywords,steps,uid,deadline,plan,feedbackBy'; $this->batchSetPost($fields); $caseID = $this->request('case', 0);