Story

创建需求 分享链接/book/api/post-stories-2169.html

作者:禅道团队最后编辑: 于 2026-01-12 16:42:00 浏览量:129
摘要:创建需求
POST
/stories

创建需求

请求URL

https://xxx.com/api.php/v2/stories

请求头

名称 类型 必填 描述
token string 访问凭证Token

请求体

名称 类型 必填 描述
productID int 产品ID
title string
pri int 优先级,默认是3
module int 所属模块
parent int 父需求
estimate float 预计工时
spec string 需求描述
category int 类别(feature 功能 | interface 接口 | performance 性能 | safe 安全 | experience 体验 | improve 改进 | other 其他)
source string 来源(customer 客户 | user 用户 | po 产品经理 | market 市场 | service 客服 | operation 运营 | support 技术支持 | competitor 竞争对手 | partner 合作伙伴 | dev 开发人员 | tester 测试人员 | bug Bug | forum 论坛 | other 其他)
verify string 验收标准
assignedTo string 指派给
reviewer array 评审人,如果设置必须评审,必须填写
project int 所属项目
execution int 所属执行

请求示例

{
    "productID": 1,
    "title": "智能头枕的压敏单元设计",
    "pri": 3,
    "module": 0,
    "parent": 0,
    "estimate": 1,
    "category": "feature",
    "source": "customer",
    "assignedTo": "admin",
    "reviewer": [
        "productManager"
    ],
    "project": 2,
    "execution": 0
}

请求响应

名称 类型 描述
status string 状态(success 成功 | fail 失败)
id int ID

响应示例

{
    "status": "success",
    "id": 1
}
返回顶部
客服头像
金娟
高级客户经理
客服微信
18562856230
1826606239
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。问题反馈反馈点击这里,让我们聆听您的建议与反馈。