获取issue详情V2
GET
/issue/v2/get请求参数
Query 参数
id
integer <int64>
issue主键编号
示例值:
1
Header 参数
content-Type
string
必需
示例值:
application/json
accessToken
string
必需
示例值:
{{accessToken}}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSON*/*
OK
数据结构
issueType
object
事项类型
code
string
问题类型编码
name
string
问题类型名称
id
integer <int64>
问题类型编号
singleFields
object
可选
单值结果集合, 字段定义集合中multipleChoice为false的字段
createBy
object
创建人信息
profilePicture
string
用户头像
userName
string
用户名
userId
integer <int64>
用户id
accountEnabled
string <byte>
可选
账户是否启用(0:否,1:是)
<= 4 字符
multiFields
object
可选
集合结果集合, 字段定义集合中multipleChoice为true的字段
createTime
string <date>
创建时间
updateBy
object
更新人信息
profilePicture
string
用户头像
userName
string
用户名
userId
integer <int64>
用户id
accountEnabled
string <byte>
可选
账户是否启用(0:否,1:是)
<= 4 字符
issueNumber
string
issue编号
updateTime
string <date>
更新时间
id
integer <int64>
事项id
fields
object
字段定义集合
projectId
integer <int64>
项目id
示例
{
"code": "0",
"data": {
"issueType": {
"code": "xxx",
"name": "xxx",
"id": 1
},
"singleFields": {
"summary": {
"value": "xxx"
},
"createBy": {
"id": 1,
"value": "xxx",
"url": "https://xxx/1.jpg"
}
},
"createBy": {
"profilePicture": "xxx",
"userName": "xxx",
"userId": 1,
"accountEnabled": 1
},
"multiFields": {
"field1": [
{
"id": 1,
"value": "1"
},
{
"id": 2,
"value": "2"
}
]
},
"createTime": 1646301600000,
"updateBy": {
"profilePicture": "xxx",
"userName": "xxx",
"userId": 1,
"accountEnabled": 1
},
"issueNumber": "xxx",
"updateTime": 1646301600000,
"id": 1,
"fields": {
"customfield_1": {
"controlCode": "select",
"fieldName": "customfield_1",
"fieldCode": "customfield_1",
"multipleChoice": true,
"fieldType": "Number"
}
},
"projectId": 1
}
}
最后修改时间: 4 months ago