https://your-domain.atlassian.net/rest/api/3/issue/{issueIdOrKey}/commentAdds a comment to an issue. This operation can be accessed anonymously. **Permissions required:** * *Browse projects* and *Add comments* project permission for the project that the issue containing the comment is in. * If issue-level security is configured, issue-level security permission to view the issue.
The ID or key of the issue.
Use [expand](#expansion) to include additional information about comments in the response. This parameter accepts `renderedBody`, which returns the comment body rendered in HTML.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request POST \
--url 'https://your-domain.atlassian.net/rest/api/3/issue/{issueIdOrKey}/comment' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}https://your-domain.atlassian.net/rest/api/3/issue/{issueIdOrKey}/commentAdds a comment to an issue. This operation can be accessed anonymously. **Permissions required:** * *Browse projects* and *Add comments* project permission for the project that the issue containing the comment is in. * If issue-level security is configured, issue-level security permission to view the issue.
The ID or key of the issue.
Use [expand](#expansion) to include additional information about comments in the response. This parameter accepts `renderedBody`, which returns the comment body rendered in HTML.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request POST \
--url 'https://your-domain.atlassian.net/rest/api/3/issue/{issueIdOrKey}/comment' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}