| Method Description | 
         Request this method to confirm that a bug has been resolved, and to bind it with information about the solution, build, date, etc.  | 
    |||||||||||||||||||||||||||||||||||||||||||||
| Notes | 1: If you want to add linked builds, you should add three extra parameter, e.g. 'buildProject' => 1, 'buildName' => '7.2.4', and createBuild' => 1, which means the project, the build, and the creation. 2. If the resolution is【Duplicated Bug】, enter the duplicated bug ID and extra parameters, e.g. 'duplicateBug' => 5 means the bug ID=5Bug is duplicated.  | 
    |||||||||||||||||||||||||||||||||||||||||||||
| Example | 
      
                
public function addBugResolve()
{
    include_once('../vendor/zentao/zentao.php');
    $zentao = new \zentao();
    $params = array(
        'bugID'         => 9,
        'resolution'    => 'duplicate',
        'resolvedBuild' => '2',
        'resolvedDate'  => '2019-11-22',
        'assignedTo'    => 'lisi',
        'comment'       => 'Resolved bug comment',
        'buildProject'  => 1,
        'buildName'     => '7.2.5',
        'createBuild'   => 1,
        'duplicateBug'  => 2
    );    // request parameteres
    $result = $zentao->addBugResolve($params);
    return $result;
}
 | 
    |||||||||||||||||||||||||||||||||||||||||||||
| Request | 
      
                POST | |||||||||||||||||||||||||||||||||||||||||||||
| Method | 
      
                
         addBugResolve  | 
    |||||||||||||||||||||||||||||||||||||||||||||
| Parameter | 
      
                
        
  | 
    |||||||||||||||||||||||||||||||||||||||||||||
| Result | 
      
                success | error | ||||||||||||||||||||||||||||||||||||||||||||
{
    "status": 1,
    "msg": "success",
    "result": []
}
 | 
      
{
    "status": 0,
    "msg": "error",
    "result": []
}
 | 
    |||||||||||||||||||||||||||||||||||||||||||||