WorkZappy
  1. Task Module(task)
WorkZappy
  • Authorize Module(authorize)
    • Get Permanent Token
    • Get Access Token
    • Refresh Access Token
  • User Module(user)
    • Get project member list (without pagination)
    • Get Project member list (with pagination)
    • Add Project Members
    • Remove Project Members
  • Organization Module(org)
    • Get Organization Users (with pagination)
    • Enable Organization User
    • Disable Organization User
    • Remove Organization User
  • Project Module(project)
    • Get Project Template List
    • Get Project List
    • Get Project Overview Template
    • New Project
    • Update Project
    • Get Project Information By Project Key
    • Get Project Information
    • Change Project Members Role
    • Get Project Roles
    • Get Project Roles
  • Task Module(task)
    • Get Task Type List
      GET
    • Get Task Scheme
      GET
    • Get Task Fields
      GET
    • Get Task Field Detail
      GET
    • Batch Add Task
      POST
    • New Task
      POST
    • Batch Update Task
      PATCH
    • Update Task
      PATCH
    • Get Task Detail V2
      GET
    • Get Task Detail
      GET
    • Get Task Detail By Task Number
      GET
    • Remove Task
      DELETE
    • Batch Remove Task
      DELETE
    • Query Task List
      POST
    • Query Task List V2
      POST
    • Get Project Task Filter Fields
      POST
    • Get Task Select Options
      POST
    • Get Task Relations
      GET
    • Add Task Relation
      POST
    • Remove Task Relation
      POST
    • Batch Add Subtasks
      POST
    • Remove Subtask
      DELETE
    • Update Subtask
      PATCH
    • Get Subtask List
      POST
    • Update Subtask Status
      PATCH
    • Get Subtask Field List
      POST
    • Add Labour Record
      POST
    • Update Labour Record
      PATCH
    • Remove Labour Record
      DELETE
    • Labour Record List
      POST
    • Get Trash Select Option List(The free version does not support)
      POST
    • Get Trash List(The free version does not support)
      POST
    • Restore Task(The free version does not support)
      POST
    • Get Finished Task List
      POST
  • Phase Module(phase)
    • New Phase
    • Update Phase
    • Remove Phase
    • Get Phase Detail
    • Get Project Phase List
  • Workflow Module(workflow)
    • Query Project Workflow List
    • Get State Transition List
  • Tag Module(tag)
    • New Tag
    • Update Tag
    • Remove Tag
    • Get Tag List
  • Webhook Module(webhook)
    • Get Webhook Type List
    • Get Webhook Event List
    • New Webhook
    • Remove Webhook
    • Update Webhook
    • Get Webhook Detail
    • Query Webhook List
  • Comment Module(comment)
    • New Comment
    • Update Comment
    • Remove Comment
    • Get Comment List
    • Update Comment Sticker
    • List Comment Sticker
  • File Module(file)
    • Upload File
    • Download File
    • Remove File
    • Get File List
    • Bind File
  • Personal Message Module(msg)
    • Get Personal Message List
  1. Task Module(task)

Query Task List V2

POST
/issue/v2/page
The Issue List, v2, Is Queried For Issues Whose Conditions Are Met By The Subtasks.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://app.workzappy.com/openapi/api/issue/v2/page' \
--header 'accessToken: {{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
summary
string 
optional
Summary
pageNumber
integer <int32>
optional
Page Number
showedCustomFieldCodes
array [object] 
optional
Showed Custom Field Codes
orderBy
string 
optional
Sorted Fields (createTime|updateTime)
pageSize
integer <int32>
optional
Page Size
sort
string 
optional
Sort (ASC|DESC)
selectFilter
array [object {3}] 
optional
Optional Field Filter
fieldCode
string 
optional
Field Code
ids
array [object] 
optional
Option Id List
operator
string 
optional
operator(contains|notContains|blank|notBlank), contains By Default
numberFilter
array [object {4}] 
optional
number Field Filter
fieldCode
string 
optional
Field Code
range
object 
optional
Range, Necessarily When The Operator Type Is InRange
value
number 
optional
Field Code, Necessarily When The Operator Type Is Not InRange
operator
string 
optional
operator(equals|notEqual|greaterThan|lessThan|inRange|blank|notBlank), equals By Default
projectId
integer <int64>
required
Project ID
statusTypes
array [object] 
optional
Status Type List (Not Started: 2, In Progress: 3, Done: 4)
Examples

Responses

🟢200OK
application/json
Body
singleFields
object 
optional
Single-Valued Results Collection, Fields Defining The Collection Where MultipleChoice Is False
multiFields
object 
optional
Set Result Collection, Field Defines The Field In The Collection Where MultipleChoice Is True
id
integer <int64>
optional
Issue ID
matchFilter
boolean 
optional
Whether To Match The Filter Conditions, If The Current Issue Does Not Meet The Conditions But The Subtasks Meet The Conditions, Return False.
Modified at 2025-03-21 12:10:47
Previous
Query Task List
Next
Get Project Task Filter Fields
Built with