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

POST
https://app.leiga.com/openapi/api/issue/page
Issue Module(issue)
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://app.leiga.com/openapi/api/issue/page' \
--header 'accessToken: ' \
--header 'Content-Type: application/json' \
--data-raw '{
    "summary": "xxx",
    "selectFields": {
        "createBy": [
            1,
            2,
            3
        ],
        "sprint": [
            1
        ]
    },
    "dateFields": {
        "createTime": [
            1630425600000,
            1632412799000
        ]
    },
    "pageNumber": 1,
    "showedCustomFieldCodes": [
        "customfield_1"
    ],
    "orderBy": "createTime",
    "pageSize": 10,
    "sort": "DESC",
    "projectId": 1,
    "statusTypes": [
        2
    ]
}'
Response Response Example
{
  "code": "0",
  "data": {
    "total": 1,
    "list": [
      {
        "priorityName": "xxx",
        "issueTypeName": "xxx",
        "statusType": 1,
        "dueDate": 1646301600000,
        "customFieldData": {
          "customfield_1": 1
        },
        "priorityId": 1,
        "issueTypeVO": {
          "code": "xxx",
          "name": "xxx",
          "id": 1
        },
        "issueTypeId": 1,
        "assigneeName": "xxx",
        "updateBy": 1,
        "statusName": "xxx",
        "sprintName": "xxx",
        "id": 1,
        "summary": "xxx",
        "updateTime": 1646301600000,
        "assigneeId": 1,
        "updateByVO": {
          "profilePicture": "xxx",
          "userName": "xxx",
          "userId": 1,
          "accountEnabled": 1
        },
        "assigneeVO": {
          "profilePicture": "xxx",
          "userName": "xxx",
          "userId": 1,
          "accountEnabled": 1
        },
        "tags": [
          {
            "id": 1,
            "tagName": "xxx"
          }
        ],
        "sprintId": 1,
        "createBy": 1,
        "statusId": 1,
        "createTime": 1646301600000,
        "createByVO": {
          "profilePicture": "xxx",
          "userName": "xxx",
          "userId": 1,
          "accountEnabled": 1
        },
        "startDate": 1646301600000
      }
    ]
  }
}

Request

Header Params
Content-Type
string 
required
Example:
application/json
accessToken
string 
required
Example:
{{accessToken}}
Body Params application/json
summary
string 
optional
Summary
selectFields
object 
optional
Optional Field Values
dateFields
object 
optional
Date Field Values
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)
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
priorityName
string 
optional
Priority Name
issueTypeName
string 
optional
Issue Type Name
statusType
integer <int32>
optional
Status Type (Not Started: 2, In Progress: 3, Done: 4)
dueDate
string <date>
optional
Due Date
customFieldData
object 
optional
Custom Field Data
priorityId
integer <int64>
optional
Priority ID
issueTypeVO
object 
optional
Issue Type
code
string 
optional
Issue Type Code
name
string 
optional
Issue Type Name
id
integer <int64>
optional
Issue Type ID
issueTypeId
integer <int64>
optional
Issue Type ID
assigneeName
string 
optional
Assignee Name
updateBy
integer <int64>
optional
Last Updater ID
statusName
string 
optional
Issue Status Name
sprintName
string 
optional
Sprint Name
id
integer <int64>
optional
Issue ID
summary
string 
optional
Issue Summary
updateTime
string <date>
optional
Last Update Time
assigneeId
integer <int64>
optional
Assignee ID
updateByVO
object 
optional
Last Updater
profilePicture
string 
optional
Profile Picture
userName
string 
optional
User Name
userId
integer <int64>
optional
User ID
accountEnabled
string <byte>
optional
Account Enabled (0:No,1:Yes)
<= 4 characters
assigneeVO
object 
optional
Assignee
profilePicture
string 
optional
Profile Picture
userName
string 
optional
User Name
userId
integer <int64>
optional
User ID
accountEnabled
string <byte>
optional
Account Enabled (0:No,1:Yes)
<= 4 characters
tags
array [object] 
optional
Tag List
sprintId
integer <int64>
optional
Sprint ID
createBy
integer <int64>
optional
Creator ID
statusId
integer <int64>
optional
Issue Status ID
createTime
string <date>
optional
Creation Time
createByVO
object 
optional
Creator
profilePicture
string 
optional
Profile Picture
userName
string 
optional
User Name
userId
integer <int64>
optional
User ID
accountEnabled
string <byte>
optional
Account Enabled (0:No,1:Yes)
<= 4 characters
startDate
string <date>
optional
Start Date
Previous
Batch Remove Issue
Next
Query Issue List V2
Built with