Get Issue Detail By Issue Number
GET
https://app.leiga.com/openapi/api/issue/get-by-issue-number
Issue Module(issue)
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://app.leiga.com/openapi/api/issue/get-by-issue-number?issueNumber=xxx' \
--header 'accessToken: ' \
--header 'content-Type: application/json'
Response Response Example
{
"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
}
}
Request
Query Params
issueNumber
stringÂ
required
Example:
xxx
Header Params
content-Type
stringÂ
required
Example:
application/json
accessToken
stringÂ
required
Example:
{{accessToken}}
Responses
Modified at 2024-06-12 06:46:49