获取issue详情
GET
/issue/get请求参数
Query 参数
id
integer <int64>
issue主键编号
示例值:
1
Header 参数
content-Type
string
必需
示例值:
application/json
accessToken
string
必需
示例值:
{{accessToken}}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSON*/*
OK
数据结构
data
object
可选
数据; 如果字段是选项值则返回类型为数组形式
createTime
string <date>
创建时间
updateTime
string <date>
更新时间
id
integer <int64>
主键id
projectId
integer <int64>
项目id
示例
{
"code": "0",
"data": {
"data": {
"issueNumber": 1,
"customfield_25650076": "1",
"description": "xx",
"priorityVO": {
"sequence": 5,
"color": "#fd612c",
"name": "Highest",
"description": "xx",
"id": 1,
"iconUrl": ""
},
"ownerVO": {
"name": "xxx",
"departVOs": [
{
"departId": 1
}
],
"id": 70703981,
"avatar": "xxx",
"userType": 1,
"orgUserId": 1,
"accountEnabled": 1
},
"issueTypeId": 2,
"updateBy": 2,
"labelVO": [
{
"color": "#333333",
"name": "xxx2",
"id": 2,
"labelName": "xxx1"
},
{
"color": "#333333",
"name": "xxx",
"id": 20715114,
"labelName": "xxx3"
},
{
"color": "#333333",
"name": "xxx",
"id": 2,
"labelName": "xxx"
}
],
"id": 2,
"owner": 1,
"summary": "xxx",
"customfield_25650081": "1620000000",
"customfield_25760192": "1",
"follows": [
1
],
"label": [
1,
2,
3
],
"priority": 1,
"updateByVO": {
"name": "xxx",
"id": 1
},
"assigneeVO": {
"name": "xxx",
"id": 15
},
"createBy": 3265191,
"statusVO": {
"stateName": "xxx",
"name": "xxx",
"stateCategory": 2,
"id": 6965107
},
"customfield_25640242": "xxx",
"createByVO": {
"name": "xxx",
"id": 3265191
},
"issueTypeIdVO": {
"selectId": 1,
"code": "story",
"name": "xxx",
"description": "",
"id": 6965292,
"iconUrl": "xxx",
"source": "custom",
"selected": false,
"originName": "xxx"
},
"assignee": 15,
"followsVO": [
{
"name": "xxx",
"id": 1,
"avatar": "xxx"
}
],
"projectId": 1,
"workflowId": 1,
"status": 1
},
"createTime": 1618317796020,
"updateTime": 1618457316414,
"id": 1,
"projectId": 1
}
}
最后修改时间: 17 天前