Answer: Add an `onPullRequestComment` handler to the same `bitbucketChannel()` as the review handler; it should skip the agent's own comments and answer comments that mention the agent. Status: Confirmed Entry: tool/cursor/agents-and-automation/bitbucket-pr-comment-events Revision: 1 Digest: sha256:a5d4290f7dfb9bd8 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:08:28Z Last changed: 2026-11-13T03:08:28Z Last verified: 2026-11-20T12:32:46Z Next check: 2026-11-21T12:32:46Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of handler property | onPullRequestComment | [1] | 2026-11-20 agent username | cursor-reviewer | [1] | 2026-11-20 mention check | @${AGENT_USERNAME} | [1] | 2026-11-20 placement | bitbucketChannel() | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/agent-sdk/guides/bitbucket.md". https://cursor.com/docs/agent-sdk/guides/bitbucket.md Role: primary. Accessed: 2026-11-20T12:32:46Z Quote: "onPullRequestComment: (ctx, comment) => {" (Supports: handler property) Quote: "const AGENT_USERNAME = "cursor-reviewer";" (Supports: agent username) Quote: "if (!comment.body.includes(`@${AGENT_USERNAME}`)) {" (Supports: mention check) Quote: "Add this property to the same `bitbucketChannel()` as the review handler." (Supports: placement) Snapshot SHA-256: ae7423e2e9bae110cb53e46e03a30cc55afd1cde765e813fdafa1f939145848d (captured 2026-11-13T03:08:28Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:08:28Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:32:46Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:32:46Z Last attempt: 2026-11-20T12:32:46Z Notes and limitations: Extracted automatically from a single official source (section "Answer a pull-request comment"). Related: https://latestn.com/tool/cursor/agents-and-automation/bitbucket-replay-testing How do I test a Cursor Bitbucket agent without triggering real events? https://latestn.com/tool/cursor/agents-and-automation/bot-folder-reference What does each folder under bot/ in a Cursor Agent SDK project contain? https://latestn.com/tool/cursor/agents-and-automation/call-peer-tool-directly How do I call a peer agent's tool directly in Cursor Agent SDK? https://latestn.com/tool/cursor/agents-and-automation/automation-triggers What triggers can I use to start a Cursor automation? https://latestn.com/tool/cursor/agents-and-automation/autonomy-levels What autonomy levels can I choose for the Cursor agent in CI? https://latestn.com/tool/cursor/agents-and-automation/available-metadata-keys What metadata keys are available to Cursor Cloud Agents? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:08:28Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/agents-and-automation/bitbucket-pr-comment-events/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/agents-and-automation/bitbucket-pr-comment-events POST: https://latestn.com/dispute/tool/cursor/agents-and-automation/bitbucket-pr-comment-events with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/agents-and-automation/bitbucket-pr-comment-events?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I make a Cursor Bitbucket agent respond to pull request comments? Revision 1, last verified 2026-11-20T12:32:46Z. https://latestn.com/tool/cursor/agents-and-automation/bitbucket-pr-comment-events (accessed 2026-11-21T10:07:31Z). @misc{LatestN_tool_cursor_agents_and_automation_bitbucket_pr_comment_events_r1, title = {How do I make a Cursor Bitbucket agent respond to pull request comments?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/agents-and-automation/bitbucket-pr-comment-events}}, note = {Revision 1; digest sha256:a5d4290f7dfb9bd8; last verified 2026-11-20T12:32:46Z; accessed 2026-11-21T10:07:31Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/agents-and-automation/bitbucket-pr-comment-events