Query Issue List V2
POST
https://app.leiga.com/openapi/api/issue/v2/page
Issue Module(issue)
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://app.leiga.com/openapi/api/issue/v2/page' \
--header 'accessToken: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"summary": "xxx",
"pageNumber": 1,
"showedCustomFieldCodes": [
"customfield_1"
],
"orderBy": "xxx",
"pageSize": 10,
"sort": "xxx",
"selectFilter": [
{
"fieldCode": "customfield_1",
"ids": [
1,
2
],
"operator": "contains"
},
{
"fieldCode": "customfield_2",
"operator": "blank"
}
],
"numberFilter": [
{
"fieldCode": "customfield_1",
"value": 2,
"operator": "equals"
},
{
"fieldCode": "customfield_2",
"range": {
"min": 0,
"max": 1
},
"value": 2,
"operator": "inRange"
},
{
"fieldCode": "customfield_3",
"operator": "blank"
}
],
"projectId": 1,
"statusTypes": [
2
]
}'
Response Response Example
{
"code": "0",
"data": {
"total": 1,
"fields": {
"customfield_1": {
"controlCode": "select",
"fieldName": "customfield_1",
"fieldCode": "customfield_1",
"multipleChoice": true,
"fieldType": "String"
}
},
"list": [
{
"singleFields": {
"summary": {
"value": "xxx"
},
"createBy": {
"id": 1,
"value": "xxx",
"url": "https://xxx/1.jpg"
}
},
"multiFields": {
"field1": [
{
"id": 1,
"value": "1"
},
{
"id": 2,
"value": "2"
}
]
},
"id": 1,
"matchFilter": true
}
]
}
}
Request
Header Params
Content-Type
stringÂ
required
Example:
application/json
accessToken
stringÂ
required
Example:
{{accessToken}}
Body Params application/json
Responses
Modified at 2024-06-12 06:46:49