POST /stories
Create a story
Request header
Name |
Type |
Mandatory fields |
Description |
Token |
String |
Yes |
Authentication credentials Token |
Request body
Name |
Type |
Mandatory fields |
Description |
title |
string |
Yes |
story title |
product |
int |
Yes |
affiliated product |
pri |
int |
Yes |
priority |
category |
string |
Yes |
story type |
spec |
string |
No |
story description |
verify |
string |
No |
acceptance standard |
source |
string |
No |
source of the story |
sourceNote |
string |
No |
source comment |
estimate |
float |
No |
estimated hours |
keywords |
string |
No |
keywords |
Request example
{
"title": "test story",
"spec": "test",
"product": 1,
"pri": 1,
"category": "feature"
}
Request 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": 14,
"parent": 0,
"product": 1,
"branch": 0,
"module": 0,
"plan": "",
"source": "",
"sourceNote": "",
"fromBug": 0,
"title": "test story",
"keywords": "",
"type": "story",
"category": "feature",
"pri": 1,
"estimate": 0,
"status": "active",
"subStatus": "",
"color": "",
"stage": "wait",
"stagedBy": "",
"mailto": null,
"openedBy": "admin",
"openedDate": "2021-11-29T01:18:02Z",
"assignedTo": "",
"assignedDate": null,
"lastEditedBy": "",
"lastEditedDate": null,
"reviewedBy": "",
"reviewedDate": null,
"closedBy": "",
"closedDate": null,
"closedReason": "",
"toBug": 0,
"childStories": "",
"linkStories": "",
"duplicateStory": 0,
"version": 1,
"URChanged": "0",
"deleted": false,
"spec": "test",
"verify": "",
"executions": [],
"tasks": [],
"stages": [],
"children": []
}