GET
/bugs/:id 
Get Bug Details
1. Request Header
| Name | Type | Required | Description | 
|---|---|---|---|
| Token | String | Yes | Authentication Token | 
2. Request Response
| Name | Type | Required | Description | 
|---|---|---|---|
| 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 | boolean | No | Transfer to Task | 
| toStory | boolean | No | Transfer to Story | 
| title | string | Yes | Bug Title | 
| keywords | string | No | Keywords | 
| severity | int | Yes | Severity | 
| pri | int | Yes | Priority | 
| type | string | No | 
         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 | No | Replay steps | 
| task | int | No | Related Tasks | 
| story | int | No | Related Stories | 
| openedBy | string | Yes | Created by | 
| openedDate | datetime | Yes | Created at | 
| deadline | date | No | Deadline | 
| assignedTo | No | Assigned to | |
| assgnedDate | 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 | 
| status | string | Yes | Status (active | resolved | closed) | 
3. Response Example
{
    "id": 1,
    "project": 7,
    "product": 1,
    "branch": 0,
    "module": 0,
    "execution": 1,
    "plan": 0,
    "story": 1,
    "storyVersion": 1,
    "task": 1,
    "toTask": 0,
    "toStory": 0,
    "title": "aaa",
    "keywords": "",
    "severity": 3,
    "pri": 1,
    "type": "codeerror",
    "os": "",
    "browser": "",
    "hardware": "",
    "found": "",
    "steps": "<p>[Step] go to the homepage</p> \r\n<p>[Result] messy code appears    </p> \r\n<p>[Expect] normal display</p>",
    "subStatus": "",
    "color": "",
    "confirmed": 0,
    "activatedCount": 0,tester A
    "activatedDate": "1969-12-31T16:00:00Z",
    "feedbackBy": "",
    "notifyEmail": "",
    "mailto": [],
    "openedBy": {
        "id": 7,
        "account": "tester1",
        "avatar": "",
        "realname": "tester A"
    },
    "openedDate": "2012-06-05T02:56:11Z",
    "openedBuild": "trunk",
    "assignedTo": {
        "id": 4,
        "account": "dev1",
        "avatar": "",
        "realname": "developer A"
    },
    "assignedDate": "1969-12-31T16:00:00Z",
    "deadline": null,
    "resolvedBy": null,
    "resolution": "",
    "resolvedBuild": "",
    "resolvedDate": null,
    "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": {
        "id": 1,
        "account": "admin",
        "avatar": "",
        "realname": "administrator"
    },
    "lastEditedDate": "2021-12-05T14:53:35Z",
    "deleted": false,
    "executionName": "enterprise website phase 1",
    "storyTitle": "homepages design and development",
    "storyStatus": "active",
    "latestStoryVersion": 2,
    "taskName": null,
    "planName": null,
    "projectName": "enterprise management system",
    "toCases": [],
    "files": []
}