POST  /productplans/:id/unlinkbugs
 
Cancel the link between the product plan and bugs
Request Headers
| Name | Type | Required or Optional | Description | 
|---|---|---|---|
| token | string | required | Access Credentials Token | 
Request Body
| Name | Type | Required or Optional | Description | 
|---|---|---|---|
| stories | array | required | cancel a linked bug, e.g. [1, 2] | 
Request Example
{
    "bugs": [7]
} Request Response
| Name | Type | Required or Optional | Description | 
|---|---|---|---|
| id | int | required | plan id | 
| product | int | required | belong to which product | 
| branch | int | required | belong to which branch | 
| parent | int | required | parent plan | 
| title | string | required | plan name | 
| desc | string | required | description of plan | 
| begin | date | required | planned begin date | 
| end | date | required | planned end date | 
| stories | array | required | related requirements | 
| ∟ id | int | required | requirement id | 
| ∟ title | string | required | requirement name | 
| ∟ product | int | required | belong to which product | 
| ∟ branch | int | required | belong to which branch | 
| ∟ category | string | required | requirement type (feature|interface|performance|safe|experience|improve|other) | 
| ∟ pri | int | required | requirements priority | 
| bugs | assay | required | related bugs | 
| ∟ id | int | required | bug id | 
| ∟ product | int | required | product id | 
| ∟ branch | int | required | belong to which branch | 
| ∟ module | int | required | belong to which module | 
| ∟ execution | int | required | belong to which execution | 
| ∟ story | int | required | related requirements | 
| ∟ title | string | required | bug name | 
| ∟ severity | int | required | degree of severity | 
| ∟ pri | int | required | bugs priority | 
| ∟ type | string | required | bug type | 
| ∟ steps | string | required | bug reproduction steps | 
| ∟ status | string | required | bug status (active|resolved|closed) | 
Response Example
{
    "id": 4,
    "product": 4,
    "branch": 2,
    "parent": 0,
    "title": "branch2plan",
    "desc": "",
    "begin": "2021-11-30",
    "end": "2021-12-06",
    "order": "",
    "deleted": false,
    "stories": [],
    "bugs": []
} 