> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/application-security/application-security/onboard-data-sources/onboard-version-control-systems/bitbucket-data-center/reference-c-bitbucket-data-center-events.md).

# Reference C: Bitbucket Data Center events

Events Cortex Cloud subscribes to for Bitbucket Data Center.

## Reference C: Bitbucket Data Center events

Cortex Cloud subscribes to the following Bitbucket Data Center events.

<details>

<summary>Repository and pull request events</summary>

* **pr:merged**: A pull request is merged.
* **pr:updated**: A pull request's reviewer list changes.
* **pr:opened**: A pull request is opened.
* **repo:added**: A comment is added to a repository.
* **repo:forked**: A repository is forked.
* **repo:refs\_changed**: Repository references change.
* **repo:edited**: A repository comment is edited.
* **pr:declined**: A pull request is declined.
* **pr:deleted**: A pull request or pull request comment is deleted.
* **repo:deleted**: A repository comment is deleted.
* **pr:edited**: A pull request is edited.
* **pr:unapproved**: A reviewer unapproves a pull request.
* **pr:modified**: A pull request is modified.
* **mirror:repo\_synchronized**: A mirrored repository synchronizes.
* **pr:needs\_work**: A reviewer requests changes.
* **pr:approved**: A reviewer approves a pull request.
* **repo:modified**: A repository is modified.
* **pr:added**: A comment is added to a pull request.

</details>

### CI/CD module events

Cortex Cloud subscribes to these additional events for the CI/CD module.

<details>

<summary>CI/CD events</summary>

* **Project**: `proj:modified`
* **Repository**: `repo:refs_changed`, `repo:forked`, `repomodified`, `repoadded`, `repoedited`, `repodeleted`
* **Pull request**: `pr:opened`, `pr:from_ref_updated`, `pr:to_ref_updated`, `pr:modified`, `prupdated`, `prapproved`, `prunapproved`, `prneeds`, `pr:merged`, `pr:declined`, `pr:deleted`, `pradded`, `predited`, `prdeleted`

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/application-security/application-security/onboard-data-sources/onboard-version-control-systems/bitbucket-data-center/reference-c-bitbucket-data-center-events.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
