更新时间:2024-11-30 GMT+08:00
分享

创建IPD工作项

功能介绍

创建IPD项目工作项

调试

您可以在API Explorer中调试该接口,支持自动认证鉴权。API Explorer可以自动生成SDK代码示例,并提供SDK代码示例调试功能。

URI

POST /v1/ipdprojectservice/projects/{project_id}/issues

表1 路径参数

参数

是否必选

参数类型

描述

project_id

String

项目Id

请求参数

表2 请求Body参数

参数

是否必选

参数类型

描述

title

String

工作项名称

description

String

描述信息

status

String

状态["Committed", "Analyse", "ToBeConfirmed", "Plan", "Doing", "Delivered", "Checking"]

src_domain

String

提出项目domainId

submitted_by

String

提交人Id

domain_id

String

归属项目domainId

recipient

Array of strings

承接人id

expect_delivery_time

Long

期望完成时间

priority

String

优先级

assigned_cc

Array of strings

抄送人id

category

String

工作项分类:[Epic,FE,IR,RR,SR,US,AR,Bug,Task]

assignee

String

责任人

plan_pi

String

PI ID

plan_iteration

String

迭代ID

plan_start_date

Long

计划开始时间

plan_end_date

Long

计划结束时间

workload_man_day

Integer

计划工时

business_domain

String

领域

need_break

String

是否需要分解

响应参数

状态码: 200

表3 响应Body参数

参数

参数类型

描述

status

String

状态

message

String

信息

result

Array of Map<String,Object> objects

结果

请求示例

  • /v1/ipdprojectservice/projects/{project_id}/issues
    
    {
      "status" : "Analyse",
      "title" : "模型一原始需求demo",
      "description" : "<p>【需求背景】</p><p><br></p><p>【需求价值】</p><p><br></p><p>【需求详情】</p>",
      "src_domain" : "868551927720357888",
      "submitted_by" : "a360371833bf4c558f796fd707b44daf",
      "domain_id" : "868551927720357888",
      "recipient" : [ "a360371833bf4c558f796fd707b44daf" ],
      "priority" : "中",
      "category" : "RR"
    }
  • /v1/ipdprojectservice/projects/{project_id}/issues
    
    {
      "title" : "模型二初始需求demo",
      "description" : "<p>【需求背景】</p><p><br></p><p>【需求价值】</p><p><br></p><p>【需求详情】</p>",
      "domain_id" : "885117755981602818",
      "status" : "Start",
      "submitted_by" : "eab51c9c46f84d3aab838e1db6401232",
      "assignee" : "eab51c9c46f84d3aab838e1db6401232",
      "priority" : "中",
      "plan_pi" : "885118532431159297",
      "plan_iteration" : "885118693565890561",
      "plan_start_date" : 1688918400000,
      "plan_end_date" : 1690214400000,
      "workload_man_day" : 10,
      "business_domain" : "software",
      "need_break" : "yes",
      "assigned_cc" : [ "eab51c9c46f84d3aab838e1db6401232" ],
      "category" : "IR"
    }
  • /v1/ipdprojectservice/projects/{project_id}/issues
    
    {
      "title" : "模型三任务demo",
      "description" : "<p>【任务背景】</p><p><br></p><p>【任务价值】</p><p><br></p><p>【任务详情】</p>",
      "domain_id" : "885119056444489729",
      "status" : "Start",
      "assignee" : "eab51c9c46f84d3aab838e1db6401232",
      "priority" : "中",
      "assigned_cc" : [ "eab51c9c46f84d3aab838e1db6401232" ],
      "business_domain" : "software",
      "plan_start_date" : 1688918400000,
      "plan_end_date" : 1690214400000,
      "workload_man_day" : 12,
      "category" : "Task"
    }

响应示例

状态码: 200

创建成功响应

{
  "status" : "success",
  "message" : null,
  "result" : [ ]
}

状态码

状态码

描述

200

创建成功响应

错误码

请参见错误码

相关文档