Answer: Use the `bitbucket replay` command to replay a pull request against your local agent, optionally with `--dry-run` and `--fixtures-dir` to avoid triggering real events. For Data Center, pass the full pull request URL. Status: Confirmed Entry: tool/cursor/agents-and-automation/bitbucket-replay-testing Revision: 1 Digest: sha256:d2146dcf58d70bf7 (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:47Z Next check: 2026-11-21T12:32:47Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of replay command | agent-sdk bitbucket replay acme/widgets#42 --events '*' | [1] | 2026-11-20 dry-run with fixtures | agent-sdk bitbucket replay acme/widgets#42 --events '*' --dry-run --fixtures-dir fixtures/bitbucket | [1] | 2026-11-20 Data Center note | For Data Center, pass the full pull request URL. | [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:47Z Quote: "agent-sdk bitbucket replay acme/widgets#42 --events '*'" (Supports: replay command) Quote: "agent-sdk bitbucket replay acme/widgets#42 --events '*' --dry-run --fixtures-dir fixtures/bitbucket" (Supports: dry-run with fixtures) Quote: "For Data Center, pass the full pull request URL." (Supports: Data Center note) 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:47Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:32:47Z Last attempt: 2026-11-20T12:32:47Z Notes and limitations: Extracted automatically from a single official source (section "Test with replay"). Related: 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/call-tool-without-model-turn How do I call a Cursor Agent SDK tool without a model turn? 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/cursor/agents-and-automation/bitbucket-pr-comment-events How do I make a Cursor Bitbucket agent respond to pull request comments? 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-replay-testing/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-replay-testing POST: https://latestn.com/dispute/tool/cursor/agents-and-automation/bitbucket-replay-testing with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/agents-and-automation/bitbucket-replay-testing?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I test a Cursor Bitbucket agent without triggering real events? Revision 1, last verified 2026-11-20T12:32:47Z. https://latestn.com/tool/cursor/agents-and-automation/bitbucket-replay-testing (accessed 2026-11-21T10:06:22Z). @misc{LatestN_tool_cursor_agents_and_automation_bitbucket_replay_testing_r1, title = {How do I test a Cursor Bitbucket agent without triggering real events?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/agents-and-automation/bitbucket-replay-testing}}, note = {Revision 1; digest sha256:d2146dcf58d70bf7; last verified 2026-11-20T12:32:47Z; accessed 2026-11-21T10:06:22Z} } 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-replay-testing