- 1. API
- 2 Configuration
- 3. Department
-
4. User
- 4.1 Get Parameters of Add User
- 4.2 Add User
- 4.3 Get User List
- 5. Product
- 6. Project
-
7. Task
- 7.1 Get Task List
- 7.2 Get Task Optional Information
- 7.3 Add Task
- 7.4 Finish Task Optional Information
- 7.5 Finish Task
- 8. Bug
Confirm Bug Resolution
- 2020-03-24 11:01:31
- John Ten
- 3079
- Last edited by Taotao on 2020-03-25 15:28:56
- Share links
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": [] } |
Write a Comment
Support
- Book a Demo
- Tech Forum
- GitHub
- SourceForge
About Us
- Company
- Privacy Policy
- Term of Use
- Blogs
- Partners
Contact Us
- Leave a Message
- Email Us: [email protected]