POST /stories/:id/change
Change a story
Request header
Name |
Type |
Mandatory fields |
Description |
Token |
String |
Yes |
Authentication credentials Token |
Request body
Name |
Type |
Mandatory fields |
Description |
title |
string |
No |
story title |
spec |
string |
No |
story description |
verify |
string |
No |
acceptance standard |
Response example
{
"spec": "story change description"
}
Response
Name |
Type |
Mandatory fields |
Description |
id |
int |
Yes |
story ID |
product |
int |
Yes |
affiliated product |
branch |
int |
Yes |
affiliated branch |
module |
int |
Yes |
affiliated product module |
fromBug |
int |
Yes |
from Bug |
source |
string |
Yes |
source of the story(customer | user | PO | market) |
sourceNote |
string |
Yes |
source comment |
title |
string |
Yes |
story title |
category |
string |
Yes |
type(feature | interface | performance | safe | experience | improve | other) |
stage |
string |
Yes |
stage(wait | planned | projected | developing | developed | testing | tested | verified | released |closed) |
pri |
int |
Yes |
priority |
estimate |
float |
Yes |
estimated hours |
verify |
string |
Yes |
acceptance standard |
status |
string |
Yes |
status(draft | active | closed | changed) |
openedBy |
user |
Yes |
create by |
openedDate |
datetime |
Yes |
create time |
toBug |
int |
Yes |
to Bug |
Response example
{
"id": 1,
"parent": 0,
"product": 1,
"branch": 0,
"module": 1,
"plan": "1",
"source": "po",
"sourceNote": "",
"fromBug": 0,
"title": "home page design and development",
"keywords": "",
"type": "story",
"category": "feature",
"pri": 1,
"estimate": 1,
"status": "active",
"subStatus": "",
"color": "",
"stage": "developing",
"stagedBy": "",
"mailto": "",
"openedBy": "productManager",
"openedDate": "2012-06-05T02:09:49Z",
"assignedTo": "productManager",
"assignedDate": null,
"lastEditedBy": "admin",
"lastEditedDate": "2021-11-29T01:43:18Z",
"reviewedBy": "",
"reviewedDate": null,
"closedBy": "",
"closedDate": null,
"closedReason": "",
"toBug": 0,
"childStories": "",
"linkStories": "",
"duplicateStory": 0,
"version": 2,
"URChanged": "0",
"deleted": "0",
"spec": "story change description",
"verify": "developed and accepted<br />",
"executions": {
"1": {
"project": 1,
"name": "company website phase 1",
"status": "doing"
}
},
"tasks": {
"1": [
{
"id": 11,
"name": "home page development",
"assignedTo": "dev1",
"execution": 1,
"status": "doing",
"consumed": 0,
"left": 8,
"type": "devel"
},
{
"id": 10,
"name": "home page design",
"assignedTo": "dev1",
"execution": 1,
"status": "done",
"consumed": 8,
"left": 0,
"type": "design"
}
]
},
"stages": [],
"planTitle": {
"1": "1.0 version"
},
"children": []
}