获取产品需求列表 分享链接

最后编辑:宋辰轩 于 2022-11-09 14:49:58
GET
/products/:id/stories

获取产品需求列表

请求头

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

请求参数

page String 当前页数
limit String 每页需求数
status String 需求类型(allstory 全部|unclosed 未关闭|assignedtome 指给我|openedbyme 我创建|reviewbyme 待我评审|draftstory 草稿|reviewedbyme 我评审|assignedbyme 我指派|closedbyme 我关闭|activestory 激活|changingstory 变更中|reviewingstory 评审中|willclose 待关闭|closedstory 已关闭|feedback 来自反馈)
请求响应
page int 当前页面
total int 需求总数
limit int 每页需求数
stories array 需求列表
  ∟  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 int 预计工时
  ∟  status string 状态(draft 草稿 | active 激活 | closed 已关闭 | changed 已变更)
  ∟  openedBy 创建人
  ∟  openedDate datetime 创建时间
  ∟  toBug int 转为Bug

响应示例

 "page": 1,
    "total": 1,
    "limit": 20,
    "stories": [
        {
            "id": 7,
            "parent": 0,
            "product": 1,
            "branch": 0,
            "module": 7,
            "plan": "1",
            "source": "po",
            "sourceNote": "",
            "fromBug": 0,
            "title": "关于我们的设计和开发",
            "keywords": "",
            "type": "story",
            "category": "feature",
            "pri": 1,
            "estimate": 1,
            "status": "draft",
            "subStatus": "",
            "color": "",
            "stage": "planned",
            "stagedBy": "",
            "mailto": "",
            "openedBy": "productManager",
            "openedDate": "2012-06-05T02:24:19Z",
            "assignedTo": "productManager",
            "assignedDate": "2012-06-05T02:24:19Z",
            "lastEditedBy": "",
            "lastEditedDate": null,
            "reviewedBy": "",
            "reviewedDate": null,
            "closedBy": "",
            "closedDate": null,
            "closedReason": "",
            "toBug": 0,
            "childStories": "",
            "linkStories": "",
            "duplicateStory": 0,
            "version": 1,
            "URChanged": "0",
            "deleted": false,
            "planTitle": "1.0版本 "
        }
    ]
}
                
王怡栋 1412