- Configuration
- Department
- User
- Product
- Project
- Task
- 6 Get Task List
- 6 Get Task Optional Information
- 6 Add Task
- 6 Finish Task Optional Information
- 6 Finish Task
- Bug
Confirm Bug Resolution
- 2020-03-24 11:01:31
- John Ten
- 1771
- Final Edition:tengfei De 2020-03-25 15:28:56
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=5 Bug 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": [] } |
Commenter
Produit
- ZDOO
- ZDOO Cloud
- ZSITE
Contactez-Nous
- A propos de nous
- Courriel: Philip@easycorp.ltd
- WhatsApp: 0086 18563953295
- Skype: philip517