获取需求详情 分享链接

作者:王怡栋 最后编辑:宋辰轩 于 2023-08-18 09:39:23 浏览量:5551
GET
/stories/:id

获取需求详情

请求头

名称类型必填描述
TokenString认证凭证Token

请求响应

名称类型必填描述
idint需求ID
productint所属产品
branchint所属分支
moduleint所属产品模块
fromBugint来自于Bug
sourcestring需求来源(customer 客户 | user 用户 | po 产品经理 | market 市场)
sourceNotestring来源备注
titlestring需求标题
categorystring类型(feature 功能 | interface 接口 | performance 性能 | safe 安全 | experience 体验 | improve 改进 | other 其他)
stagestring阶段(wait 未开始 | planned 已计划 | projected 已立项 | developing 研发中 | developed 研发完毕 | testing 测试中 | tested 测试完毕 | verified 已验收 | released 已发布 | closed 已关闭)
priint优先级
estimatefloat预计工时
verifystring验收标准
statusstring状态(draft 草稿 | active 激活 | closed 已关闭 | changed 已变更)
openedBy创建人
openedDatedatetime创建时间
toBugint转为Bug

响应示例

{
    "id": 14,
    "parent": 0,
    "product": 1,
    "branch": 0,
    "module": 0,
    "plan": "",
    "source": "",
    "sourceNote": "",
    "fromBug": 0,
    "title": "测试需求",
    "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": "测试",
    "verify": "",
    "executions": [],
    "tasks": [],
    "stages": [],
    "children": []
}