Leiga
  1. Issue Module(issue)
Leiga
  • 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
  • Issue Module(issue)
    • Get Issue Type List
      GET
    • Get Issue Scheme
      GET
    • Get Issue Fields
      GET
    • Get Issue Field Detail
      GET
    • Batch Add Issue
      POST
    • New Issue
      POST
    • Batch Update Issue
      PATCH
    • Update Issue
      PATCH
    • Get Issue Detail V2
      GET
    • Get Issue Detail
      GET
    • Get Issue Detail By Issue Number
      GET
    • Remove Issue
      DELETE
    • Batch Remove Issue
      DELETE
    • Query Issue List
      POST
    • Query Issue List V2
      POST
    • Get Project Issue Filter Fields
      POST
    • Get Issue Select Options
      POST
    • Get Issue Relations
      GET
    • Add Issue Relation
      POST
    • Remove Issue 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 Issue(The free version does not support)
      POST
    • Get Finished Issue List
      POST
  • Sprint Module(sprint)
    • New Sprint
    • Update Sprint
    • Remove Sprint
    • Get Sprint Detail
    • Get Project Sprint List
  • Workflow Module(workflow)
    • Query Project Workflow List
    • Get State Transition List
  • Tag Module(tag)
    • New Tag
    • Update Tag
    • Remove Tag
    • Get Tag List
  • Epic Module(epic)
    • Epic Filter Options
    • Get Epic List
    • Epic Related Issue List
    • Get Epic Field List
    • Get Epic Field Detail
    • New Epic
    • Update Epic
    • Remove Epic
    • Get Epic Detail
    • Add Issues To Epic
  • Version Module(version)
    • Get Version Status List
    • Get Version Owner Options
    • Get Version List
    • New Version
    • Update Version
    • Remove Version
    • Release Version
    • Cancel Release Version
    • Archive Version
    • Cancel Archive Version
    • Get Version Details
    • Add Issue To Version
    • Remove Issue From Version
    • Version Related Issue 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. Issue Module(issue)

Query Issue List V2

POST
https://app.leiga.com/openapi/api/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.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

Body Params application/json

Examples

Responses

🟢200OK
application/json
Body

Modified at 2024-06-12 06:46:49
Previous
Query Issue List
Next
Get Project Issue Filter Fields
Built with