Productplan

获取产品计划列表 分享链接/book/api/get-products-productid-productplans-2167.html

作者:禅道团队最后编辑: 于 2026-01-12 16:42:00 浏览量:237
摘要:获取产品计划列表
GET
/products/:productID/productplans

获取产品计划列表

请求URL

https://xxx.com/api.php/v2/products/:productID/productplans

请求头

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

请求响应

名称 类型 描述
status string 状态(success 成功 | fail 失败)
productplans array 产品计划
   ∟  id string 编号
   ∟  product string 所属产品
   ∟  branch string 平台/分支
   ∟  parent string 父计划
   ∟  title string 计划名称
   ∟  status string 状态
   ∟  desc string 描述
   ∟  begin string 开始日期
   ∟  end string 结束日期
   ∟  finishedDate string 完成时间
   ∟  closedDate string 关闭时间
   ∟  order string 排序
   ∟  closedReason string 关闭原因
   ∟  createdBy string 由谁创建
   ∟  createdDate string 创建时间
   ∟  deleted string 已删除
   ∟  stories int 需求数
   ∟  bugs int Bug数
   ∟  hour int 小时
   ∟  projects array
   ∟  expired boolean 已过期
   ∟  branchName string
   ∟  actions array

响应示例

{
    "status": "success",
    "productplans": [
        {
            "id": "1",
            "product": "1",
            "branch": "0",
            "parent": "0",
            "title": "V1.1计划",
            "status": "wait",
            "desc": "初版计划",
            "begin": "2026-01-01",
            "end": "2026-01-31",
            "finishedDate": "",
            "closedDate": "",
            "order": "0",
            "closedReason": "",
            "createdBy": "admin",
            "createdDate": "2026-01-12 16:40:18",
            "deleted": "0",
            "stories": 0,
            "bugs": 0,
            "hour": 0,
            "projects": [
                {
                    "name": "智能设备研发3.2版本开发",
                    "project": "3",
                    "plan": ",1,"
                }
            ],
            "expired": false,
            "branchName": "",
            "actions": [
                "start",
                "finish",
                "close",
                "activate",
                "createExecution",
                "divider",
                "linkStory",
                "linkBug",
                "edit",
                "create",
                "delete"
            ]
        }
    ]
}
返回顶部
客服头像
杨苗
高级客户经理
客服微信
13165050229
2692096539
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。问题反馈反馈点击这里,让我们聆听您的建议与反馈。