Add a Markdown comment
POST
/issues/{issue}/comments
const url = 'http://localhost:8100/api/v1/issues/WEB-12/comments';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"body":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8100/api/v1/issues/WEB-12/comments \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "body": "example" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”issue
required
string
Issue key (WEB-12, case-insensitive) or numeric id
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
body
required
string
Example generated
{ "body": "example"}Responses
Section titled “Responses”Created
Media typeapplication/json
object
data
object
id
integer
author
object
id
integer
name
string
body
Markdown
string
created_at
string format: date-time
updated_at
string format: date-time
Example generated
{ "data": { "id": 1, "author": { "id": 1, "name": "example" }, "body": "example", "created_at": "2026-04-15T12:00:00Z", "updated_at": "2026-04-15T12:00:00Z" }}