GET /productplans/:id
Get plan details
Request Headers
| Name | Type | Required or Optional | Description |
|---|---|---|---|
| token | string | required | Access Credentials Token |
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": 2,
"product": 4,
"branch": 0,
"parent": 0,
"title": "trunkplan",
"desc": "",
"begin": "2021-11-23",
"end": "2021-11-29",
"order": "",
"deleted": false,
"stories": [
{
"story": 12,
"plan": "2",
"order": 1,
"id": 12,
"parent": 0,
"product": 4,
"branch": 0,
"module": 23,
"source": "",
"sourceNote": "",
"fromBug": 0,
"title": "trunkrequirement",
"keywords": "",
"type": "story",
"category": "feature",
"pri": 0,
"estimate": 0,
"status": "active",
"subStatus": "",
"color": "",
"stage": "planned",
"stagedBy": "",
"mailto": null,
"openedBy": "admin",
"openedDate": "2021-11-23 16:04:30",
"assignedTo": "admin",
"assignedDate": "2021-11-23 19:42:55",
"lastEditedBy": "admin",
"lastEditedDate": "2021-11-23 19:42:55",
"reviewedBy": "",
"reviewedDate": "0000-00-00 00:00:00",
"closedBy": "",
"closedDate": "0000-00-00 00:00:00",
"closedReason": "",
"toBug": 0,
"childStories": "",
"linkStories": "",
"duplicateStory": 0,
"version": 1,
"URChanged": "0",
"deleted": "0"
}
],
"bugs": [
{
"id": 5,
"project": 0,
"product": 4,
"branch": 1,
"module": 24,
"execution": 0,
"plan": 2,
"story": 0,
"storyVersion": 1,
"task": 0,
"toTask": 0,
"toStory": 0,
"title": "Bug1",
"keywords": "",
"severity": 3,
"pri": 3,
"type": "codeerror",
"os": "",
"browser": "",
"hardware": "",
"found": "",
"steps": "<p>[steps]</p><br /><p>[results]</p><br /><p>[expectations]</p><br />",
"status": "active",
"subStatus": "",
"color": "",
"confirmed": 0,
"activatedCount": 0,
"activatedDate": "0000-00-00 00:00:00",
"mailto": "",
"openedBy": "admin",
"openedDate": "2021-11-29 13:02:34",
"openedBuild": "trunk",
"assignedTo": "",
"assignedDate": "0000-00-00 00:00:00",
"deadline": "2021-11-29",
"resolvedBy": "",
"resolution": "",
"resolvedBuild": "",
"resolvedDate": "0000-00-00 00:00:00",
"closedBy": "",
"closedDate": "0000-00-00 00:00:00",
"duplicateBug": 0,
"linkBug": "",
"case": 0,
"caseVersion": 0,
"result": 0,
"repo": 0,
"entry": "",
"lines": "",
"v1": "",
"v2": "",
"repoType": "",
"testtask": 0,
"lastEditedBy": "",
"lastEditedDate": "0000-00-00 00:00:00",
"deleted": "0"
}
]
}