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)

Get Issue Detail By Issue Number

GET
https://app.leiga.com/openapi/api/issue/get-by-issue-number
Issue Module(issue)
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://app.leiga.com/openapi/api/issue/get-by-issue-number?issueNumber=xxx' \
--header 'accessToken: ' \
--header 'content-Type: application/json'
Response Response Example
{
  "code": "0",
  "data": {
    "data": {
      "issueNumber": 1,
      "customfield_25650076": "1",
      "description": "xx",
      "priorityVO": {
        "sequence": 5,
        "color": "#fd612c",
        "name": "Highest",
        "description": "xx",
        "id": 1,
        "iconUrl": ""
      },
      "ownerVO": {
        "name": "xxx",
        "departVOs": [
          {
            "departId": 1
          }
        ],
        "id": 70703981,
        "avatar": "xxx",
        "userType": 1,
        "orgUserId": 1,
        "accountEnabled": 1
      },
      "issueTypeId": 2,
      "updateBy": 2,
      "labelVO": [
        {
          "color": "#333333",
          "name": "xxx2",
          "id": 2,
          "labelName": "xxx1"
        },
        {
          "color": "#333333",
          "name": "xxx",
          "id": 20715114,
          "labelName": "xxx3"
        },
        {
          "color": "#333333",
          "name": "xxx",
          "id": 2,
          "labelName": "xxx"
        }
      ],
      "id": 2,
      "owner": 1,
      "summary": "xxx",
      "customfield_25650081": "1620000000",
      "customfield_25760192": "1",
      "follows": [
        1
      ],
      "label": [
        1,
        2,
        3
      ],
      "priority": 1,
      "updateByVO": {
        "name": "xxx",
        "id": 1
      },
      "assigneeVO": {
        "name": "xxx",
        "id": 15
      },
      "createBy": 3265191,
      "statusVO": {
        "stateName": "xxx",
        "name": "xxx",
        "stateCategory": 2,
        "id": 6965107
      },
      "customfield_25640242": "xxx",
      "createByVO": {
        "name": "xxx",
        "id": 3265191
      },
      "issueTypeIdVO": {
        "selectId": 1,
        "code": "story",
        "name": "xxx",
        "description": "",
        "id": 6965292,
        "iconUrl": "xxx",
        "source": "custom",
        "selected": false,
        "originName": "xxx"
      },
      "assignee": 15,
      "followsVO": [
        {
          "name": "xxx",
          "id": 1,
          "avatar": "xxx"
        }
      ],
      "projectId": 1,
      "workflowId": 1,
      "status": 1
    },
    "createTime": 1618317796020,
    "updateTime": 1618457316414,
    "id": 1,
    "projectId": 1
  }
}

Request

Query Params
issueNumber
string 
required
Issue Number
Example:
xxx
Header Params
content-Type
string 
required
Example:
application/json
accessToken
string 
required
Example:
{{accessToken}}

Responses

🟢200OK
application/json
Body
data
object 
optional
Issue Detail
createTime
string <date>
optional
Issue Creation Time
updateTime
string <date>
optional
Last Update Time
id
integer <int64>
optional
Issue ID
projectId
integer <int64>
optional
Project ID
Previous
Get Issue Detail
Next
Remove Issue
Built with