Contents

Get Comment List

Returns list of comments in issue.

Role

All

Method

GET

URL

/api/v2/issues/:issueIdOrKey/comments

URL parameters

Parameter NameTypeDescription
issueIdOrKeyStringIssue ID or Issue Key

Query parameters

Parameter NameTypeDescription
minIdNumberminimum ID
maxIdNumbermaximum ID
countNumbernumber of records to retrieve(1-100) default=20
orderString”asc” or “desc” default=“desc”

Response example

Status Line / Response Header

HTTP/1.1 200 OK
Content-Type:application/json;charset=utf-8

Response Body

[
    {
        "id": 6586,
        "projectId": 5,
        "issueId": 50,
        "content": "test",
        "changeLog": null,
        "createdUser": {
            "id": 1,
            "userId": "admin",
            "name": "admin",
            "roleType": 1,
            "lang": "ja",
            "nulabAccount": {
                "nulabId": "Prm9ZD9DQD5snNWcSYSwZiQoA9WFBUEa2ySznrSnSQRhdC2X8G",
                "name": "admin",
                "uniqueId": "admin"
            },
            "mailAddress": "eguchi@nulab.example",
            "lastLoginTime": "2022-09-01T06:35:39Z"
        },
        "created": "2013-08-05T06:15:06Z",
        "updated": "2013-08-05T06:15:06Z",
        "stars": [],
        "notifications": []
    },
    // ...
]