Comment Added

Emitted when a comment is added to a task or project

Overview

The CommentAdded event is published when a user posts a comment on a task.

Example Payload

{
"eventId": "evt_comment_123",
"eventType": "CommentAdded",
"timestamp": "2025-12-11T18:00:00Z",
"version": "1.0.0",
"data": {
"commentId": "cmt_abc123",
"taskId": "task_12345",
"workspaceId": "ws_acme_corp",
"author": {
"userId": "usr_john_doe",
"name": "John Doe"
},
"content": "Great progress! @jane-smith can you review the auth flow?",
"mentions": ["usr_jane_smith"],
"attachments": [],
"createdAt": "2025-12-11T18:00:00Z"
}
}

Downstream Actions

  • Notification Service: Notifies mentioned users and watchers
  • Activity Service: Logs comment activity
  • Search Service: Indexes comment content