创建IPD工作项
功能介绍
创建IPD项目工作项
调试
您可以在API Explorer中调试该接口,支持自动认证鉴权。API Explorer可以自动生成SDK代码示例,并提供SDK代码示例调试功能。
URI
POST /v1/ipdprojectservice/projects/{project_id}/issues
参数 |
是否必选 |
参数类型 |
描述 |
---|---|---|---|
project_id |
是 |
String |
项目Id |
请求参数
参数 |
是否必选 |
参数类型 |
描述 |
---|---|---|---|
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
参数 |
参数类型 |
描述 |
---|---|---|
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 |
创建成功响应 |
错误码
请参见错误码。