需求

变更需求 分享链接

作者:王怡栋 最后编辑:宋辰轩 于 2024-09-30 14:49:54 浏览量:6555
POST
/stories/id/change

变更需求

请求URL

https://xxx.com/api.php/v1/stories/id/change

请求头

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

请求体

名称 类型 必填 描述
title string 需求标题
spec string 需求描述
verify string 验收标准

请求示例

{
    "spec": "变更描述"
}

请求响应

名称 类型 必填 描述
id int 需求ID
product int 所属产品
branch int 所属分支
module int 所属产品模块
fromBug int 来自于Bug
source string 需求来源(customer 客户 | user 用户 | po 产品经理 | market 市场)
sourceNote string 来源备注
title string 需求标题
category string 类型(feature 功能 | interface 接口 | performance 性能 | safe 安全 | experience 体验 | improve 改进 | other 其他)
stage string 阶段(wait 未开始 | planned 已计划 | projected 已立项 | developing 研发中 | developed 研发完毕 | testing 测试中 | tested 测试完毕 | verified 已验收 | released 已发布 | closed 已关闭)
pri int 优先级
estimate float 预计工时
verify string 验收标准
status string 状态(draft 草稿 | active 激活 | closed 已关闭 | changed 已变更)
openedBy 创建人
openedDate datetime 创建时间
toBug int 转为Bug

响应示例

{
    "id": 1,
    "parent": 0,
    "product": 1,
    "branch": 0,
    "module": 1,
    "plan": "1",
    "source": "po",
    "sourceNote": "",
    "fromBug": 0,
    "title": "首页设计和开发",
    "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": "变更描述",
    "verify": "开发并通过验收<br />",
    "executions": {
        "1": {
            "project": 1,
            "name": "企业网站第一期",
            "status": "doing"
        }
    },
    "tasks": {
        "1": [
            {
                "id": 11,
                "name": "首页页面的开发",
                "assignedTo": "dev1",
                "execution": 1,
                "status": "doing",
                "consumed": 0,
                "left": 8,
                "type": "devel"
            },
            {
                "id": 10,
                "name": "首页页面的设计",
                "assignedTo": "dev1",
                "execution": 1,
                "status": "done",
                "consumed": 8,
                "left": 0,
                "type": "design"
            }
        ]
    },
    "stages": [],
    "planTitle": {
        "1": "1.0版本"
    },
    "children": []
}
返回顶部
丁芝
高级客户经理
17663906485
1481227768
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。 问题反馈反馈点击这里,让我们聆听您的建议与反馈。