文档首页/ 需求管理 CodeArts Req/ API参考/ API/ 项目信息/ 查询项目下的工作项模板V2
更新时间:2025-08-11 GMT+08:00
分享

查询项目下的工作项模板V2

功能介绍

查询项目下的工作项模板。

调用方法

请参见如何调用API

URI

GET /v2/template/config

表1 Query参数

参数

是否必选

参数类型

描述

project_id

String

参数解释

项目的32位uuid,项目唯一标识,通过查询项目列表接口获取,响应消息体中的project_id字段的值就是项目ID。

约束限制

32位的数字和字母组成的字符串。

取值范围

不涉及。

默认取值

不涉及。

tracker_id

String

参数解释

工作项类型id。

约束限制

不涉及。

取值范围

2(任务/Task)

3(缺陷/Bug)

5(Epic)

6(Feature)

7(Story)

默认取值

不涉及。

请求参数

表2 请求Header参数

参数

是否必选

参数类型

描述

X-Auth-Token

String

参数解释:

用户Token。 通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。

约束限制:

必传。

取值范围:

最小长度:10,最大长度:32768。

默认取值:

不涉及。

响应参数

状态码:200

表3 响应Body参数

参数

参数类型

描述

-

String

查询项目下的工作项模板的返回参数。

result

result object

参数解释:

返回结果。

取值范围:

不涉及。

status

String

参数解释:

返回状态。

取值范围:

success:返回成功

error :返回失败

表4 result

参数

参数类型

描述

templates

Templates object

参数解释:

工作项的模板信息。

取值范围:

不涉及。

表5 Templates

参数

参数类型

描述

id

Integer

参数解释:

工作项模板id。

约束限制:

不涉及。

project_id

Integer

参数解释:

项目数字id。

约束限制:

不涉及。

tracker_id

String

参数解释:

工作项类型id。

约束限制:

2(任务/Task)

3(缺陷/Bug)

5(Epic)

6(Feature)

7(Story)

description

String

参数解释:

工作项的描述

取值范围:

不涉及。

creator_id

Integer

参数解释:

创建者id。

取值范围:

不涉及。

issue_field_config

String

参数解释:

工作项字段配置信息。

取值范围:

不涉及。

created_on

String

参数解释:

创建时间。时间戳格式(示例:1839340800000)。

取值范围:

不涉及。

updated_on

String

参数解释:

更新时间。时间戳格式(示例:1839340800000)。

取值范围:

不涉及。

project_uuid

String

参数解释:

项目32位id

取值范围:

不涉及。

issue_field_configs

Array of IssueFieldConfig objects

参数解释:

工作项字段配置信息。

取值范围:

不涉及。

tracker_id2

Integer

参数解释:

工作项类型id。

约束限制:

2(任务/Task)

3(缺陷/Bug)

5(Epic)

6(Feature)

7(Story)

表6 IssueFieldConfig

参数

参数类型

描述

custom

Boolean

参数解释:

是否自定义状态。

取值范围:

true(是自定义状态)

false(不是自定义状态)

default_option

Array of OptionVOV2 objects

参数解释:

默认配置。

default_options

Array of OptionVOV2 objects

参数解释:

默认配置。

default_value

String

参数解释:

字段的默认值。

取值范围:

不涉及。

field

String

参数解释:

字段。

取值范围:

不涉及。

field_type

String

参数解释:

字段值设置类型。

取值范围:

textArea(多行文本,只能包含汉字、英文大小写字母、数字、下划线和连接符,不能超过500字符)

text(单行文本,只能包含汉字、英文大小写字母、数字、下划线和连接符,不能超过500字符)

select(下拉框,只能包含汉字、英文大小写字母、数字、下划线和连接符,每个选项最大长度40个字符,最多可定义60个选项)

number(数字,取值范围由用户创建自定义字段时设置)

date(日期,精确到年月日)

time_date(日期精确到时分秒,长整型时间戳)

checkbox(多选框,只能包含汉字、英文大小写字母、数字、下划线和连接符,每个选项最大长度40个字符,最多可定义60个选项)

radio(单选框,只能包含汉字、英文大小写字母、数字、下划线和连接符,每个选项最大长度40个字符,最多可定义60个选项)

is_required

Integer

参数解释:

状态是否必选状态。

取值范围:

0(不是必选状态)

1(是必选状态)

is_visible

Boolean

参数解释:

状态是否可见。

取值范围:

true(可见)

false(不可见)

last

Boolean

参数解释:

状态是否处于最后位置。

取值范围:

true(最后)

false(不是最后)

name

String

参数解释:

字段名称。

取值范围:

不涉及。

option

Array of OptionVOV2 objects

参数解释:

配置。

options

String

参数解释:

字段配置。

取值范围:

不涉及。

position

Integer

参数解释:

状态在页面的位置id

取值范围:

不涉及。

project_id

String

参数解释:

项目32位id,项目唯一标识,通过查询项目列表接口获取,响应消息体中的project_id字段的值就是项目ID。

取值范围:

不涉及。

tracker_list

Array of integers

参数解释:

工作项类型列表。

type_options

String

参数解释:

字段值设置类型。

取值范围:

select(可选值)

fixed_value(固定值)

表7 OptionVOV2

参数

参数类型

描述

id

String

参数解释:

选项Id。

取值范围:

不涉及。

name

String

参数解释:

选项名称。

取值范围:

不涉及。

请求示例

{endpoint}/v2/template/config

响应示例

状态码:200

OK

{
  "result" : {
    "templates" : [ {
      "id" : 3275278,
      "project_id" : 35138974,
      "tracker_id" : 7,
      "description" : "<p style=\"padding-top: 5.0px;\"><span style=\"font-weight: bold;\"> 作为 </span><用户角色></p><p><br /></p><p style=\"padding-top: 5.0px;\"><span style=\"font-weight: bold;\"> 我想要 </span><结果></p><p><br /></p><p style=\"padding-top: 5.0px;\"><span style=\"font-weight: bold;\"> 以便于 </span><目的> </p>",
      "issue_field_config" : "[{\"custom\":false,\"field\":\"status_id\",\"name\":\"状态\",\"field_type\":\"select\",\"type_options\":\"select,fixed_value\",\"default_value\":\"新建\",\"is_visible\":true,\"position\":2,\"is_required\":2,\"last\":true,\"options\":\"新建,进行中,已解决,测试中,已拒绝,已关闭\",\"trackerList\":[]},{\"custom\":false,\"field\":\"assigned_to_id\",\"name\":\"处理人\",\"field_type\":\"select\",\"type_options\":\"select,fixed_value\",\"default_value\":\"自己\",\"is_visible\":true,\"position\":2,\"is_required\":2,\"last\":true,\"options\":\"自己,模块负责人\",\"trackerList\":[]},{\"custom\":false,\"field\":\"module_id\",\"name\":\"模块\",\"field_type\":\"select\",\"type_options\":\"select,fixed_value\",\"default_value\":\"\",\"is_visible\":true,\"position\":3,\"is_required\":0,\"last\":true,\"trackerList\":[]},{\"custom\":false,\"field\":\"fixed_version_id\",\"name\":\"迭代\",\"field_type\":\"select\",\"type_options\":\"select,fixed_value\",\"default_value\":\"空\",\"is_visible\":true,\"position\":4,\"is_required\":0,\"last\":true,\"options\":\"空,当前迭代\",\"trackerList\":[]},{\"custom\":false,\"field\":\"start_date\",\"name\":\"预计开始日期\",\"field_type\":\"date\",\"type_options\":\"date,fixed_value\",\"default_value\":\"空\",\"is_visible\":true,\"position\":5,\"is_required\":0,\"last\":false,\"options\":\"空,今天,明天,一周后,两周后,三周后,一月后\",\"trackerList\":[]},{\"custom\":false,\"field\":\"due_date\",\"name\":\"预计结束日期\",\"field_type\":\"date\",\"type_options\":\"date,fixed_value\",\"default_value\":\"空\",\"is_visible\":true,\"position\":6,\"is_required\":0,\"last\":false,\"options\":\"空,预计开始日期当前,预计开始日期明天,预计开始日期一周后,预计开始日期两周后,预计开始日期三周后,预计开始日期一月后,父工作项预计结束日期\",\"trackerList\":[]},{\"custom\":false,\"field\":\"tracker_id\",\"name\":\"工作项类型\",\"field_type\":\"select\",\"type_options\":\"select,fixed_value\",\"default_value\":\"\",\"is_visible\":true,\"position\":7,\"is_required\":3,\"last\":false,\"trackerList\":[]},{\"custom\":false,\"field\":\"order\",\"name\":\"优先级顺序\",\"field_type\":\"select\",\"type_options\":\"select,fixed_value\",\"default_value\":\"1\",\"is_visible\":true,\"position\":8,\"is_required\":0,\"last\":false,\"options\":\"1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100\",\"trackerList\":[]},{\"custom\":false,\"field\":\"priority_id\",\"name\":\"优先级\",\"field_type\":\"select\",\"type_options\":\"select,fixed_value\",\"default_value\":\"中\",\"is_visible\":true,\"position\":9,\"is_required\":2,\"last\":false,\"options\":\"低,中,高\",\"trackerList\":[]},{\"custom\":false,\"field\":\"project_id\",\"name\":\"项目\",\"field_type\":\"select\",\"type_options\":\"select,fixed_value\",\"default_value\":\"\",\"is_visible\":true,\"position\":10,\"is_required\":3,\"last\":false,\"trackerList\":[]},{\"custom\":false,\"field\":\"severity_id\",\"name\":\"重要程度\",\"field_type\":\"select\",\"type_options\":\"select,fixed_value\",\"default_value\":\"一般\",\"is_visible\":true,\"position\":11,\"is_required\":2,\"last\":false,\"options\":\"关键,重要,一般,提示\",\"trackerList\":[]},{\"custom\":false,\"field\":\"author_id\",\"name\":\"创建人\",\"field_type\":\"select\",\"type_options\":\"select,fixed_value\",\"default_value\":\"\",\"is_visible\":true,\"position\":12,\"is_required\":3,\"last\":false,\"trackerList\":[]},{\"custom\":false,\"field\":\"created_on\",\"name\":\"创建时间\",\"field_type\":\"datetime\",\"type_options\":\"datetime,fixed_value\",\"default_value\":\"\",\"is_visible\":true,\"position\":13,\"is_required\":3,\"last\":false,\"trackerList\":[]},{\"custom\":false,\"field\":\"updated_on\",\"name\":\"更新时间\",\"field_type\":\"datetime\",\"type_options\":\"datetime,fixed_value\",\"default_value\":\"\",\"is_visible\":true,\"position\":14,\"is_required\":3,\"last\":false,\"trackerList\":[]},{\"custom\":false,\"field\":\"assigned_cc\",\"name\":\"抄送人\",\"field_type\":\"select\",\"type_options\":\"select,fixed_value\",\"default_value\":\"\",\"is_visible\":true,\"position\":15,\"is_required\":0,\"last\":false,\"options\":\"空,自己,模块负责人\",\"trackerList\":[]},{\"custom\":false,\"field\":\"parent_issue_id\",\"name\":\"父工作项\",\"field_type\":\"select\",\"type_options\":\"select,fixed_value\",\"default_value\":\"\",\"is_visible\":true,\"position\":16,\"is_required\":0,\"last\":false,\"trackerList\":[]},{\"custom\":false,\"field\":\"domain_id\",\"name\":\"领域\",\"field_type\":\"select\",\"type_options\":\"select,fixed_value\",\"default_value\":\"\",\"is_visible\":true,\"position\":17,\"is_required\":0,\"last\":true,\"trackerList\":[]},{\"custom\":false,\"field\":\"more\",\"name\":\"以下为查看更多的内容\",\"field_type\":\"\",\"type_options\":\"\",\"default_value\":\"\",\"is_visible\":true,\"position\":18,\"is_required\":0,\"last\":false,\"trackerList\":[]},{\"custom\":false,\"field\":\"releaseDev\",\"name\":\"发布版本号\",\"field_type\":\"text\",\"type_options\":\"fixed_value\",\"default_value\":\"\",\"is_visible\":true,\"position\":19,\"is_required\":0,\"last\":false,\"trackerList\":[]},{\"custom\":false,\"field\":\"developer\",\"name\":\"开发人员\",\"field_type\":\"select\",\"type_options\":\"select,fixed_value\",\"default_value\":\"空\",\"is_visible\":true,\"position\":20,\"is_required\":0,\"last\":false,\"options\":\"空,自己,模块负责人\",\"trackerList\":[]},{\"custom\":false,\"field\":\"expected_work_hours\",\"name\":\"预计工时\",\"field_type\":\"text\",\"type_options\":\"fixed_value\",\"default_value\":\"0\",\"is_visible\":true,\"position\":21,\"is_required\":0,\"last\":false,\"trackerList\":[]},{\"custom\":false,\"field\":\"actual_work_hours\",\"name\":\"实际工时\",\"field_type\":\"text\",\"type_options\":\"fixed_value\",\"default_value\":\"\",\"is_visible\":true,\"position\":22,\"is_required\":0,\"last\":false,\"trackerList\":[]},{\"custom\":false,\"field\":\"done_ratio\",\"name\":\"完成度\",\"field_type\":\"select\",\"type_options\":\"select,fixed_value\",\"default_value\":\"\",\"is_visible\":true,\"position\":23,\"is_required\":0,\"last\":false,\"trackerList\":[]},{\"custom\":false,\"field\":\"story_point_id\",\"name\":\"故事点\",\"field_type\":\"select\",\"type_options\":\"select,fixed_value\",\"default_value\":\"1\",\"is_visible\":true,\"position\":24,\"is_required\":0,\"last\":false,\"options\":\"0,1/2,1,2,3,5,8,13,21,40,80,100,∞,?\",\"trackerList\":[]}]",
      "tracker_id2" : 7,
      "issue_field_configs" : [ {
        "custom" : false,
        "field" : "status_id",
        "name" : "状态",
        "field_type" : "select",
        "type_options" : "select,fixed_value",
        "default_value" : "新建",
        "default_option" : {
          "id" : "3fd2b527c0cb405d9a7c86c584d510e8",
          "name" : "新建"
        },
        "is_visible" : true,
        "position" : 2,
        "is_required" : 2,
        "last" : true,
        "option" : [ {
          "id" : "3fd2b527c0cb405d9a7c86c584d510e8",
          "name" : "新建"
        }, {
          "id" : "36870c57df2b43e29a9f773b72baa727",
          "name" : "进行中"
        }, {
          "id" : "1d0737101a6544ad8c6e099c4b6493b0",
          "name" : "已解决"
        }, {
          "id" : "bdd6b0f9415340b0b35b8d0dd65b4346",
          "name" : "测试中"
        }, {
          "id" : "651f0aff9ebb48a8af657f8e5dac2475",
          "name" : "已拒绝"
        }, {
          "id" : "c42312e7f4b74810970a8201b0f96751",
          "name" : "已关闭"
        } ],
        "tracker_list" : [ ]
      }, {
        "custom" : false,
        "field" : "assigned_to_id",
        "name" : "处理人",
        "field_type" : "select",
        "type_options" : "select,fixed_value",
        "default_value" : "自己",
        "default_option" : {
          "id" : "oneself",
          "name" : "自己"
        },
        "is_visible" : true,
        "position" : 2,
        "is_required" : 2,
        "last" : true,
        "option" : [ {
          "id" : "moduleCharge",
          "name" : "模块负责人"
        }, {
          "id" : "oneself",
          "name" : "自己"
        }, {
          "id" : "4091",
          "name" : "张三丰1"
        }, {
          "id" : "1700580652",
          "name" : "devcloud_devcloud_s00404480_01/build_admin_trust"
        }, {
          "id" : "1700581280",
          "name" : "devcloud_devcloud_s00404480_01/pipeline_admin_trust"
        } ],
        "tracker_list" : [ ]
      }, {
        "custom" : false,
        "field" : "module_id",
        "name" : "模块",
        "field_type" : "select",
        "type_options" : "select,fixed_value",
        "default_value" : "",
        "is_visible" : true,
        "position" : 3,
        "is_required" : 0,
        "last" : true,
        "tracker_list" : [ ]
      }, {
        "custom" : false,
        "field" : "fixed_version_id",
        "name" : "迭代",
        "field_type" : "select",
        "type_options" : "select,fixed_value",
        "default_value" : "",
        "is_visible" : true,
        "position" : 4,
        "is_required" : 0,
        "last" : true,
        "option" : [ {
          "id" : "current",
          "name" : "当前迭代"
        } ],
        "tracker_list" : [ ]
      }, {
        "custom" : false,
        "field" : "start_date",
        "name" : "预计开始日期",
        "field_type" : "date",
        "type_options" : "date,fixed_value",
        "default_value" : "",
        "is_visible" : true,
        "position" : 5,
        "is_required" : 0,
        "last" : false,
        "option" : [ {
          "id" : "today",
          "name" : "今天"
        }, {
          "id" : "tomorrow",
          "name" : "明天"
        }, {
          "id" : "oneWeekLater",
          "name" : "一周后"
        }, {
          "id" : "twoWeekLater",
          "name" : "两周后"
        }, {
          "id" : "threeWeekLater",
          "name" : "三周后"
        }, {
          "id" : "oneMonthLater",
          "name" : "一月后"
        } ],
        "tracker_list" : [ ]
      }, {
        "custom" : false,
        "field" : "due_date",
        "name" : "预计结束日期",
        "field_type" : "date",
        "type_options" : "date,fixed_value",
        "default_value" : "",
        "is_visible" : true,
        "position" : 6,
        "is_required" : 0,
        "last" : false,
        "option" : [ {
          "id" : "startDateToday",
          "name" : "预计开始日期当前"
        }, {
          "id" : "startDateTomorrow",
          "name" : "预计开始日期明天"
        }, {
          "id" : "startDateOneWeekLater",
          "name" : "预计开始日期一周后"
        }, {
          "id" : "startDateTwoWeekLater",
          "name" : "预计开始日期两周后"
        }, {
          "id" : "startDateThreeWeekLater",
          "name" : "预计开始日期三周后"
        }, {
          "id" : "startDateOneMonthLater",
          "name" : "预计开始日期一月后"
        }, {
          "id" : "parentDueDate",
          "name" : "父工作项预计结束日期"
        } ],
        "tracker_list" : [ ]
      }, {
        "custom" : false,
        "field" : "order",
        "name" : "优先级顺序",
        "field_type" : "select",
        "type_options" : "select,fixed_value",
        "default_value" : "1",
        "default_option" : {
          "id" : "1",
          "name" : "1"
        },
        "is_visible" : true,
        "position" : 8,
        "is_required" : 0,
        "last" : false,
        "option" : [ {
          "id" : "1",
          "name" : "1"
        }, {
          "id" : "2",
          "name" : "2"
        }, {
          "id" : "3",
          "name" : "3"
        }, {
          "id" : "4",
          "name" : "4"
        }, {
          "id" : "5",
          "name" : "5"
        }, {
          "id" : "6",
          "name" : "6"
        }, {
          "id" : "7",
          "name" : "7"
        }, {
          "id" : "8",
          "name" : "8"
        }, {
          "id" : "9",
          "name" : "9"
        }, {
          "id" : "10",
          "name" : "10"
        }, {
          "id" : "11",
          "name" : "11"
        }, {
          "id" : "12",
          "name" : "12"
        }, {
          "id" : "13",
          "name" : "13"
        }, {
          "id" : "14",
          "name" : "14"
        }, {
          "id" : "15",
          "name" : "15"
        }, {
          "id" : "16",
          "name" : "16"
        }, {
          "id" : "17",
          "name" : "17"
        }, {
          "id" : "18",
          "name" : "18"
        }, {
          "id" : "19",
          "name" : "19"
        }, {
          "id" : "20",
          "name" : "20"
        }, {
          "id" : "21",
          "name" : "21"
        }, {
          "id" : "22",
          "name" : "22"
        }, {
          "id" : "23",
          "name" : "23"
        }, {
          "id" : "24",
          "name" : "24"
        }, {
          "id" : "25",
          "name" : "25"
        }, {
          "id" : "26",
          "name" : "26"
        }, {
          "id" : "27",
          "name" : "27"
        }, {
          "id" : "28",
          "name" : "28"
        }, {
          "id" : "29",
          "name" : "29"
        }, {
          "id" : "30",
          "name" : "30"
        }, {
          "id" : "31",
          "name" : "31"
        }, {
          "id" : "32",
          "name" : "32"
        }, {
          "id" : "33",
          "name" : "33"
        }, {
          "id" : "34",
          "name" : "34"
        }, {
          "id" : "35",
          "name" : "35"
        }, {
          "id" : "36",
          "name" : "36"
        }, {
          "id" : "37",
          "name" : "37"
        }, {
          "id" : "38",
          "name" : "38"
        }, {
          "id" : "39",
          "name" : "39"
        }, {
          "id" : "40",
          "name" : "40"
        }, {
          "id" : "41",
          "name" : "41"
        }, {
          "id" : "42",
          "name" : "42"
        }, {
          "id" : "43",
          "name" : "43"
        }, {
          "id" : "44",
          "name" : "44"
        }, {
          "id" : "45",
          "name" : "45"
        }, {
          "id" : "46",
          "name" : "46"
        }, {
          "id" : "47",
          "name" : "47"
        }, {
          "id" : "48",
          "name" : "48"
        }, {
          "id" : "49",
          "name" : "49"
        }, {
          "id" : "50",
          "name" : "50"
        }, {
          "id" : "51",
          "name" : "51"
        }, {
          "id" : "52",
          "name" : "52"
        }, {
          "id" : "53",
          "name" : "53"
        }, {
          "id" : "54",
          "name" : "54"
        }, {
          "id" : "55",
          "name" : "55"
        }, {
          "id" : "56",
          "name" : "56"
        }, {
          "id" : "57",
          "name" : "57"
        }, {
          "id" : "58",
          "name" : "58"
        }, {
          "id" : "59",
          "name" : "59"
        }, {
          "id" : "60",
          "name" : "60"
        }, {
          "id" : "61",
          "name" : "61"
        }, {
          "id" : "62",
          "name" : "62"
        }, {
          "id" : "63",
          "name" : "63"
        }, {
          "id" : "64",
          "name" : "64"
        }, {
          "id" : "65",
          "name" : "65"
        }, {
          "id" : "66",
          "name" : "66"
        }, {
          "id" : "67",
          "name" : "67"
        }, {
          "id" : "68",
          "name" : "68"
        }, {
          "id" : "69",
          "name" : "69"
        }, {
          "id" : "70",
          "name" : "70"
        }, {
          "id" : "71",
          "name" : "71"
        }, {
          "id" : "72",
          "name" : "72"
        }, {
          "id" : "73",
          "name" : "73"
        }, {
          "id" : "74",
          "name" : "74"
        }, {
          "id" : "75",
          "name" : "75"
        }, {
          "id" : "76",
          "name" : "76"
        }, {
          "id" : "77",
          "name" : "77"
        }, {
          "id" : "78",
          "name" : "78"
        }, {
          "id" : "79",
          "name" : "79"
        }, {
          "id" : "80",
          "name" : "80"
        }, {
          "id" : "81",
          "name" : "81"
        }, {
          "id" : "82",
          "name" : "82"
        }, {
          "id" : "83",
          "name" : "83"
        }, {
          "id" : "84",
          "name" : "84"
        }, {
          "id" : "85",
          "name" : "85"
        }, {
          "id" : "86",
          "name" : "86"
        }, {
          "id" : "87",
          "name" : "87"
        }, {
          "id" : "88",
          "name" : "88"
        }, {
          "id" : "89",
          "name" : "89"
        }, {
          "id" : "90",
          "name" : "90"
        }, {
          "id" : "91",
          "name" : "91"
        }, {
          "id" : "92",
          "name" : "92"
        }, {
          "id" : "93",
          "name" : "93"
        }, {
          "id" : "94",
          "name" : "94"
        }, {
          "id" : "95",
          "name" : "95"
        }, {
          "id" : "96",
          "name" : "96"
        }, {
          "id" : "97",
          "name" : "97"
        }, {
          "id" : "98",
          "name" : "98"
        }, {
          "id" : "99",
          "name" : "99"
        }, {
          "id" : "100",
          "name" : "100"
        } ],
        "tracker_list" : [ ]
      }, {
        "custom" : false,
        "field" : "priority_id",
        "name" : "优先级",
        "field_type" : "select",
        "type_options" : "select,fixed_value",
        "default_value" : "中",
        "default_option" : {
          "id" : "Middle",
          "name" : "中"
        },
        "is_visible" : true,
        "position" : 9,
        "is_required" : 2,
        "last" : false,
        "option" : [ {
          "id" : "Low",
          "name" : "低"
        }, {
          "id" : "Middle",
          "name" : "中"
        }, {
          "id" : "High",
          "name" : "高"
        } ],
        "tracker_list" : [ ]
      }, {
        "custom" : false,
        "field" : "severity_id",
        "name" : "重要程度",
        "field_type" : "select",
        "type_options" : "select,fixed_value",
        "default_value" : "一般",
        "default_option" : {
          "id" : "Minor",
          "name" : "一般"
        },
        "is_visible" : true,
        "position" : 11,
        "is_required" : 2,
        "last" : false,
        "option" : [ {
          "id" : "Critical",
          "name" : "关键"
        }, {
          "id" : "Major",
          "name" : "重要"
        }, {
          "id" : "Minor",
          "name" : "一般"
        }, {
          "id" : "Trivial",
          "name" : "提示"
        } ],
        "tracker_list" : [ ]
      }, {
        "custom" : false,
        "field" : "assigned_cc",
        "name" : "抄送人",
        "field_type" : "select",
        "type_options" : "select,fixed_value",
        "default_value" : "",
        "is_visible" : true,
        "position" : 15,
        "is_required" : 0,
        "last" : false,
        "option" : [ {
          "id" : "moduleCharge",
          "name" : "模块负责人"
        }, {
          "id" : "oneself",
          "name" : "自己"
        }, {
          "id" : "4091",
          "name" : "张三丰1"
        }, {
          "id" : "1700580652",
          "name" : "devcloud_devcloud_s00404480_01/build_admin_trust"
        }, {
          "id" : "1700581280",
          "name" : "devcloud_devcloud_s00404480_01/pipeline_admin_trust"
        } ],
        "tracker_list" : [ ]
      }, {
        "custom" : false,
        "field" : "parent_issue_id",
        "name" : "父工作项",
        "field_type" : "select",
        "type_options" : "select,fixed_value",
        "default_value" : "",
        "is_visible" : true,
        "position" : 16,
        "is_required" : 0,
        "last" : false,
        "tracker_list" : [ ]
      }, {
        "custom" : false,
        "field" : "domain_id",
        "name" : "领域",
        "field_type" : "select",
        "type_options" : "select,fixed_value",
        "default_value" : "",
        "is_visible" : true,
        "position" : 17,
        "is_required" : 0,
        "last" : true,
        "tracker_list" : [ ]
      }, {
        "custom" : false,
        "field" : "more",
        "name" : "以下为查看更多的内容",
        "field_type" : "",
        "type_options" : "",
        "default_value" : "",
        "is_visible" : true,
        "position" : 18,
        "is_required" : 0,
        "last" : false,
        "tracker_list" : [ ]
      }, {
        "custom" : false,
        "field" : "releaseDev",
        "name" : "发布版本号",
        "field_type" : "text",
        "type_options" : "fixed_value",
        "default_value" : "",
        "is_visible" : true,
        "position" : 19,
        "is_required" : 0,
        "last" : false,
        "tracker_list" : [ ]
      }, {
        "custom" : false,
        "field" : "developer",
        "name" : "开发人员",
        "field_type" : "select",
        "type_options" : "select,fixed_value",
        "default_value" : "",
        "is_visible" : true,
        "position" : 20,
        "is_required" : 0,
        "last" : false,
        "option" : [ {
          "id" : "moduleCharge",
          "name" : "模块负责人"
        }, {
          "id" : "oneself",
          "name" : "自己"
        }, {
          "id" : "4091",
          "name" : "张三丰1"
        }, {
          "id" : "1700580652",
          "name" : "devcloud_devcloud_s00404480_01/build_admin_trust"
        }, {
          "id" : "1700581280",
          "name" : "devcloud_devcloud_s00404480_01/pipeline_admin_trust"
        } ],
        "tracker_list" : [ ]
      }, {
        "custom" : false,
        "field" : "expected_work_hours",
        "name" : "预计工时",
        "field_type" : "text",
        "type_options" : "fixed_value",
        "default_value" : "0",
        "is_visible" : true,
        "position" : 21,
        "is_required" : 0,
        "last" : false,
        "tracker_list" : [ ]
      }, {
        "custom" : false,
        "field" : "actual_work_hours",
        "name" : "实际工时",
        "field_type" : "text",
        "type_options" : "fixed_value",
        "default_value" : "",
        "is_visible" : true,
        "position" : 22,
        "is_required" : 0,
        "last" : false,
        "tracker_list" : [ ]
      }, {
        "custom" : false,
        "field" : "done_ratio",
        "name" : "完成度",
        "field_type" : "select",
        "type_options" : "select,fixed_value",
        "default_value" : "",
        "is_visible" : true,
        "position" : 23,
        "is_required" : 0,
        "last" : false,
        "tracker_list" : [ ]
      }, {
        "custom" : false,
        "field" : "story_point_id",
        "name" : "故事点",
        "field_type" : "select",
        "type_options" : "select,fixed_value",
        "default_value" : "1",
        "default_option" : {
          "id" : "3",
          "name" : "1"
        },
        "is_visible" : true,
        "position" : 24,
        "is_required" : 0,
        "last" : false,
        "option" : [ {
          "id" : "1",
          "name" : "0"
        }, {
          "id" : "2",
          "name" : "1/2"
        }, {
          "id" : "3",
          "name" : "1"
        }, {
          "id" : "4",
          "name" : "2"
        }, {
          "id" : "5",
          "name" : "3"
        }, {
          "id" : "6",
          "name" : "5"
        }, {
          "id" : "7",
          "name" : "8"
        }, {
          "id" : "8",
          "name" : "13"
        }, {
          "id" : "9",
          "name" : "21"
        }, {
          "id" : "10",
          "name" : "40"
        }, {
          "id" : "11",
          "name" : "80"
        }, {
          "id" : "12",
          "name" : "100"
        } ],
        "tracker_list" : [ ]
      } ]
    } ]
  },
  "status" : "success"
}

状态码

状态码

描述

200

OK

错误码

请参见错误码

相关文档