Query Issue List V2
POST
/issue/v2/pageThe Issue List, v2, Is Queried For Issues Whose Conditions Are Met By The Subtasks.
Request
Summary
Page Number
Showed Custom Field Codes
Sorted Fields (createTime|updateTime)
Page Size
Sort (ASC|DESC)
Optional Field Filter
Field Code
Option Id List
operator(contains|notContains|blank|notBlank), contains By Default
number Field Filter
Field Code
Range, Necessarily When The Operator Type Is InRange
Field Code, Necessarily When The Operator Type Is Not InRange
operator(equals|notEqual|greaterThan|lessThan|inRange|blank|notBlank), equals By Default
Project ID
Status Type List (Not Started: 2, In Progress: 3, Done: 4)
{
"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
]
}
Request samples
Responses
Single-Valued Results Collection, Fields Defining The Collection Where MultipleChoice Is False
Set Result Collection, Field Defines The Field In The Collection Where MultipleChoice Is True
Issue ID
Whether To Match The Filter Conditions, If The Current Issue Does Not Meet The Conditions But The Subtasks Meet The Conditions, Return False.
{
"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
}
]
}
}