Contents

Add Comment

Adds a comment to the issue.

Role

Administrator
Normal User
Reporter
Guest Reporter

Method

POST

URL

/api/v2/issues/:issueIdOrKey/comments

URL parameters

Parameter NameTypeDescription
issueIdOrKeyStringIssue ID or Issue Key

Form parameters

Content-Type:application/x-www-form-urlencoded
Parameter NameTypeDescription
content (Required)StringContent
notifiedUserId[]
(Multiple)
NumberNotified User ID
attachmentId[]
(Multiple)
NumberAttachment file ID(Post Attachment File returns)

Response example

Status Line / Response Header

HTTP/1.1 201 CREATED
Content-Type:application/json;charset=utf-8
Location:https://xx.backlogtool.com/view/BLG-5742#comment-6586

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": []
}