- 登录模块(authorize)
- 用户模块(user)
- 组织模块(org)
- 项目模块(project)
- 事项模块(issue)
- 获取issue类型列表GET
- 获取issue模版GET
- 获取issue的字段列表GET
- 获取issue的字段详情GET
- 批量新建issuePOST
- 新建issuePOST
- 批量更新issuePATCH
- 更新issuePATCH
- 获取issue详情V2GET
- 获取issue详情GET
- 根据issue编号获取详情GET
- 删除issueDELETE
- 批量删除issueDELETE
- issue列表POST
- issue列表v2POST
- 获取项目下所有的筛选条件POST
- 获取字段的下拉选项POST
- 获取事项的关联事项列表GET
- 事项添加关联POST
- 事项移除关联POST
- 批量新建子任务POST
- 删除子任务DELETE
- 更新子任务PATCH
- 获取子任务列表POST
- 更新子任务状态PATCH
- 获取子任务可修改字段列表POST
- 新建工时登记POST
- 更新工时登记PATCH
- 删除工时登记DELETE
- 工时登记分页查询POST
- 获取回收站下拉选项列表(免费版本暂不支持)POST
- 回收站列表(免费版本暂不支持)POST
- 恢复issue(免费版本暂不支持)POST
- 为自定义字段添加选项POST
- 为自定义字段移除选项POST
- 已完成issue列表POST
- 迭代模块(sprint)
- 工作流模块(workflow)
- 标签模块(tag)
- 史诗模块(epic)
- 版本模块(version)
- Webhook配置模块(webhook)
- 评论模块(comment)
- 文件模块(file)
- 个人消息模块(msg)
获取issue详情
GET
https://ligai.cn/openapi/api/issue/get
事项模块(issue)
请求参数
Query 参数
id
integer <int64>
issue主键编号
示例值:
1
Header 参数
content-Type
string
必需
示例值:
application/json
accessToken
string
必需
示例值:
{{accessToken}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://ligai.cn/openapi/api/issue/get?id=1' \
--header 'accessToken: ' \
--header 'content-Type: application/json'
返回响应
🟢200成功
*/*
Body
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
}
}
修改于 2024-10-15 13:49:36