# Assigning Bitbucket Code Reviews to PullRequest

{% hint style="info" %}
***NOTICE:** Code reviews for connected repositories can now be requested from the PullRequest dashboard. We will continue to support assigning code reviews based on the presence of "\[pr]" or "\[pullrequest]" in the pull request's title, but this no longer necessary.*
{% endhint %}

Please note if you're an enterprise service client there is no need to assign code reviews to PullRequest using the method below. All of your repositories' pull requests will automatically be assigned. Email <hello@pullrequest.com> if you're interested in our enterprise tier services.

## **Step 1:**

Make sure the Bitbucket PullRequest app has been added to the Bitbucket profile that contains the repositories you require for code review.

You can verify PullRequest has been installed and added by checking [here](https://bitbucket.org/site/addons/authorize?descriptor_uri=https://www.pullrequest.com/bitbucket/descriptor\&redirect_uri=https://www.pullrequest.com/bitbucket/callback/landing).&#x20;

**Q: I don't see the team or profile I'm trying to add. How do I add it?**\
A: Reach out to an administrator of the Bitbucket Team with [this link](https://bitbucket.org/site/addons/authorize?descriptor_uri=https://www.pullrequest.com/bitbucket/descriptor\&redirect_uri=https://www.pullrequest.com/bitbucket/callback/landing) and ask them to install PullRequest.

<div align="left"><img src="https://2700378318-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LQoU3K2l5MjOD4mJeMr%2F-LQoU6BuNrYWkDE8Nwz5%2F-LQoUWxoWMMBYCqnCDpX%2Fexample6_1.png?alt=media&#x26;token=aeac48c7-2b3a-4967-ac15-56b31f29b4ce" alt=""></div>

## Step 2:

Log in to **PullRequest.com**, select the Bitbucket **Team/Organization** and **Repository** from the selector at the top of the screen and make sure **Reviews** is selected from the sidebar.

If the Bitbucket Team you need to request a review for is missing, follow [this guide](https://support.pullrequest.com/hc/en-us/articles/360000966474-My-Bitbucket-repository-isn-t-showing-up-in-PullRequest).

<div align="left"><img src="https://2700378318-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LQoU3K2l5MjOD4mJeMr%2F-LQoU6BuNrYWkDE8Nwz5%2F-LQoUlzYRusAJPVc8uym%2Fexample6_2.png?alt=media&#x26;token=e553ca99-4f7d-4ae4-81cc-4fc329f25500" alt=""></div>

## Step 3:&#x20;

Click the **Request Review** button on any of the code reviews you need to assign to PullRequest.

Once assigned, the pull request's status will change to **Review job created**. Once a reviewer has been selected and has started work, the status will change to **Review in progress**. Once a PullRequest reviewer has submitted a review, the status will change to **Review complete**.

![](https://2700378318-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LQoU3K2l5MjOD4mJeMr%2F-LQoU6BuNrYWkDE8Nwz5%2F-LQoUvl5W2JgbVOVV115%2Fexample6_3.png?alt=media\&token=9023de96-6a58-4894-a185-0bea92fbc11b)


---

# Agent Instructions: 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:

```
GET https://docs.pullrequest.com/assigning-bitbucket-code-reviews-to-pullrequest/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
