GET/products/:id/bugs
Get the Bug List of Products
1. Request Header
| Name | Type | Required | Description |
|---|---|---|---|
| Token | String | Yes | Authentication Token |
2. Request Response
| Name | Type | Required | Description |
|---|---|---|---|
| page | int | Yes | Page No. |
| total | int | Yes | Total Bugs |
| limit | int | Yes | Bugs per Page |
| bugs | array | Yes | Bug List |
| ∟ id | int | Yes | Bug ID |
| ∟ product | int | Yes | Affiliated Product |
| ∟ branch | int | Yes | Affiliated Branch |
| ∟ module | int | Yes | Affiliated Module |
| ∟ project | int | Yes | Affiliated Project |
| ∟ execution | int | Yes | Affiliated Execution |
| ∟ toTask | int | Yes | Transfer to Task |
| ∟ toStory | int | Yes | Transfer to Story |
| ∟ title | string | Yes | Bug Title |
| ∟ keywords | string | Yes | Keywords |
| ∟ severity | int | Yes | Severity |
| ∟ pri | int | Yes | Priority |
| ∟ type | string | Yes |
Bug Type (code errors | config | install | security | performance | standard | automation | test scripts | design defects | others) |
| ∟ os | string | No | Operating System |
| ∟ browser | string | No | Browser |
| ∟ steps | string | Yes | Replay steps |
| ∟ task | int | No | Related Tasks |
| ∟ story | int | No | Related Stories |
| ∟ openedBy | Yes | Created by | |
| ∟openedDate | datetime | Yes | Created at |
| ∟ deadline | date | No | Deadline |
| ∟assignedTo | No | Assigned to | |
| ∟assignedDate | datetime | No | Assigned Time |
| ∟ resolvedBy | No | Resolved by | |
| ∟resolvedDate | datetime | No | Resolved Time |
| ∟resolvedBuild | string | No | Resolved Build |
| ∟ closedBy | No | Closed by | |
| ∟ closedDate | datetime | No | Closed at |
3. Response Example
{
"page": 1,
"total": 1,
"limit": 20,
"bugs": [
{
"id": 9,
"project": 0,
"product": 4,
"branch": 0,
"module": 0,
"execution": 0,
"plan": 0,
"story": 0,
"storyVersion": 1,
"task": 0,
"toTask": 0,
"toStory": 0,
"title": "Bug3",
"keywords": "",
"severity": 3,
"pri": 0,
"type": "",
"os": "",
"browser": "",
"hardware": "",
"found": "",
"steps": "",
"status": {
"code": "active",
"name": "active"
},
"subStatus": "",
"color": "",
"confirmed": 0,
"activatedCount": 0,
"activatedDate": "1969-12-31T16:00:00Z",
"feedbackBy": "",
"notifyEmail": "",
"mailto": null,
"openedBy": {
"id": 1,
"account": "admin",
"avatar": "",
"realname": "administrator"
},
"openedDate": "2021-12-01T01:25:42Z",
"openedBuild": "mainstem",
"assignedTo": null,
"assignedDate": "1969-12-31T16:00:00Z",
"deadline": "1970-01-01",
"resolvedBy": null,
"resolution": "",
"resolvedBuild": "",
"resolvedDate": "1969-12-31T16:00:00Z",
"closedBy": null,
"closedDate": "1969-12-31T16:00:00Z",
"duplicateBug": 0,
"linkBug": "",
"case": 0,
"caseVersion": 1,
"result": 0,
"repo": 0,
"entry": "",
"lines": "",
"v1": "",
"v2": "",
"repoType": "",
"testtask": 0,
"lastEditedBy": null,
"lastEditedDate": "1969-12-31T16:00:00Z",
"deleted": false,
"needconfirm": false
}
]
}