# Atlassian Pull Requests API

**Canonical:** https://apis.io/apis/atlassian/atlassian-pull-requests-api/  
**Provider:** Atlassian — https://apis.io/providers/atlassian/  
**Base URL:** https://api.bitbucket.org/2.0  
**Documentation:** https://developer.atlassian.com/cloud/jira/software/rest/api-group-backlog/#api-group-backlog

Atlassian Pull Requests API is one of 183 APIs that [Atlassian](https://apis.io/providers/atlassian/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 17 JSON Schema definitions. Tagged areas include Pull Requests. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 17 JSON Schemas.

The Pull Requests API from Atlassian — 23 operation(s) for pull requests.

## Operations (36)

| Method | Path | Summary |
|---|---|---|
| GET | `/pullrequests/{selected_user}` | Atlassian List Pull Requests For A User |
| GET | `/repositories/{workspace}/{repo_slug}/commit/{commit}/pullrequests` | Atlassian List Pull Requests That Contain A Commit |
| GET | `/repositories/{workspace}/{repo_slug}/default-reviewers` | Atlassian List Default Reviewers |
| DELETE | `/repositories/{workspace}/{repo_slug}/default-reviewers/{target_username}` | Atlassian Remove A User From The Default Reviewers |
| GET | `/repositories/{workspace}/{repo_slug}/default-reviewers/{target_username}` | Atlassian Get A Default Reviewer |
| PUT | `/repositories/{workspace}/{repo_slug}/default-reviewers/{target_username}` | Atlassian Add A User To The Default Reviewers |
| GET | `/repositories/{workspace}/{repo_slug}/effective-default-reviewers` | Atlassian List Effective Default Reviewers |
| GET | `/repositories/{workspace}/{repo_slug}/pullrequests` | Atlassian List Pull Requests |
| POST | `/repositories/{workspace}/{repo_slug}/pullrequests` | Atlassian Create A Pull Request |
| GET | `/repositories/{workspace}/{repo_slug}/pullrequests/activity` | Atlassian List A Pull Request Activity Log |
| GET | `/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}` | Atlassian Get A Pull Request |
| PUT | `/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}` | Atlassian Update A Pull Request |
| GET | `/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/activity` | Atlassian List A Pull Request Activity Log |
| DELETE | `/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/approve` | Atlassian Unapprove A Pull Request |
| POST | `/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/approve` | Atlassian Approve A Pull Request |
| GET | `/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments` | Atlassian List Comments On A Pull Request |
| POST | `/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments` | Atlassian Create A Comment On A Pull Request |
| DELETE | `/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id}` | Atlassian Delete A Comment On A Pull Request |
| GET | `/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id}` | Atlassian Get A Comment On A Pull Request |
| PUT | `/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id}` | Atlassian Update A Comment On A Pull Request |
| DELETE | `/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id}/resolve` | Atlassian Reopen A Comment Thread |
| POST | `/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id}/resolve` | Atlassian Resolve A Comment Thread |
| GET | `/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/commits` | Atlassian List Commits On A Pull Request |
| POST | `/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/decline` | Atlassian Decline A Pull Request |
| GET | `/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/diff` | Atlassian List Changes In A Pull Request |
| GET | `/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/diffstat` | Atlassian Get The Diff Stat For A Pull Request |
| POST | `/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/merge` | Atlassian Merge A Pull Request |
| GET | `/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/merge/task-status/{task_id}` | Atlassian Get The Merge Task Status For A Pull Request |
| GET | `/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/patch` | Atlassian Get The Patch For A Pull Request |
| DELETE | `/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/request-changes` | Atlassian Remove Change Request For A Pull Request |
| POST | `/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/request-changes` | Atlassian Request Changes For A Pull Request |
| GET | `/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/tasks` | Atlassian List Tasks On A Pull Request |
| POST | `/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/tasks` | Atlassian Create A Task On A Pull Request |
| DELETE | `/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/tasks/{task_id}` | Atlassian Delete A Task On A Pull Request |
| GET | `/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/tasks/{task_id}` | Atlassian Get A Task On A Pull Request |
| PUT | `/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/tasks/{task_id}` | Atlassian Update A Task On A Pull Request |

## Machine-readable artifacts (127)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/atlassian/refs/heads/main/openapi/atlassian-pull-requests-api-openapi.yml
- **Documentation** — https://developer.atlassian.com/cloud/bitbucket/rest/api-group-addon/
- **GraphQL** — https://raw.githubusercontent.com/api-evangelist/atlassian/refs/heads/main/graphql/atlassian-graphql.md
- **Documentation** — https://developer.atlassian.com/cloud/bitbucket/rest/api-group-webhooks/
- **JSONLD** — https://raw.githubusercontent.com/api-evangelist/atlassian/refs/heads/main/json-ld/atlassian-bitbucket-hook-events-context.jsonld
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/atlassian/refs/heads/main/json-schema/atlassian-bitbucket-hook-events-paginated_hook_events-schema.json
- **Documentation** — https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/
- **JSONLD** — https://raw.githubusercontent.com/api-evangelist/atlassian/refs/heads/main/json-ld/atlassian-bitbucket-pull-requests-context.jsonld
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/atlassian/refs/heads/main/json-schema/atlassian-bitbucket-pull-requests-a_pullrequest_comment_task-schema.json
- **Documentation** — https://developer.atlassian.com/cloud/bitbucket/rest/api-group-repositories/
- **JSONLD** — https://raw.githubusercontent.com/api-evangelist/atlassian/refs/heads/main/json-ld/atlassian-bitbucket-repositories-context.jsonld
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/atlassian/refs/heads/main/json-schema/atlassian-bitbucket-repositories-account-schema.json
- **Documentation** — https://developer.atlassian.com/cloud/bitbucket/rest/api-group-snippets/
- **JSONLD** — https://raw.githubusercontent.com/api-evangelist/atlassian/refs/heads/main/json-ld/atlassian-bitbucket-snippets-context.jsonld
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/atlassian/refs/heads/main/json-schema/atlassian-bitbucket-snippets-account-schema.json
- **Documentation** — https://developer.atlassian.com/cloud/bitbucket/rest/api-group-workspaces/
- **JSONLD** — https://raw.githubusercontent.com/api-evangelist/atlassian/refs/heads/main/json-ld/atlassian-bitbucket-teams-context.jsonld
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/atlassian/refs/heads/main/json-schema/atlassian-bitbucket-teams-account-schema.json
- **Documentation** — https://developer.atlassian.com/cloud/bitbucket/rest/api-group-users/
- **JSONLD** — https://raw.githubusercontent.com/api-evangelist/atlassian/refs/heads/main/json-ld/atlassian-bitbucket-user-context.jsonld
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/atlassian/refs/heads/main/json-schema/atlassian-bitbucket-user-account-schema.json
- **JSONLD** — https://raw.githubusercontent.com/api-evangelist/atlassian/refs/heads/main/json-ld/atlassian-bitbucket-workspaces-context.jsonld
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/atlassian/refs/heads/main/json-schema/atlassian-bitbucket-workspaces-account-schema.json
- **Documentation** — https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-analytics/
- **Documentation** — https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-audit/
- **JSONLD** — https://raw.githubusercontent.com/api-evangelist/atlassian/refs/heads/main/json-ld/atlassian-confluence-audit-context.jsonld
- **Documentation** — https://developer.atlassian.com/cloud/confluence/connect-modules/
- **Documentation** — https://developer.atlassian.com/cloud/confluence/rest/v2/intro/
- **JSONLD** — https://raw.githubusercontent.com/api-evangelist/atlassian/refs/heads/main/json-ld/atlassian-confluence-content-context.jsonld
- **Documentation** — https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-body/
- **JSONLD** — https://raw.githubusercontent.com/api-evangelist/atlassian/refs/heads/main/json-ld/atlassian-confluence-content-body-context.jsonld
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/atlassian/refs/heads/main/json-schema/atlassian-confluence-content-body-async-content-body-schema.json
- **Documentation** — https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-states/
- **JSONLD** — https://raw.githubusercontent.com/api-evangelist/atlassian/refs/heads/main/json-ld/atlassian-confluence-content-states-context.jsonld
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/atlassian/refs/heads/main/json-schema/atlassian-confluence-content-states-async-id-schema.json
- **Documentation** — https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-group/
- **JSONLD** — https://raw.githubusercontent.com/api-evangelist/atlassian/refs/heads/main/json-ld/atlassian-confluence-group-context.jsonld
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/atlassian/refs/heads/main/json-schema/atlassian-confluence-group-group-array-with-links-schema.json
- **Documentation** — https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-inline-tasks
- **JSONLD** — https://raw.githubusercontent.com/api-evangelist/atlassian/refs/heads/main/json-ld/atlassian-confluence-inline-tasks-context.jsonld
- …and 87 more, listed in full on the page.

## Other Atlassian APIs (12)

- [Atlassian Jira Software Backlog API](https://apis.io/apis/atlassian/atlassian-jira-software-backlog-api/)
- [Atlassian Jira Software Board API](https://apis.io/apis/atlassian/atlassian-jira-software-board-api/)
- [Atlassian Jira Software Epic API](https://apis.io/apis/atlassian/atlassian-jira-software-epic-api/)
- [Atlassian Jira Software Sprint API](https://apis.io/apis/atlassian/atlassian-jira-software-sprint-api/)
- [Atlassian Jira Software Development Information API](https://apis.io/apis/atlassian/atlassian-jira-software-development-information-api/)
- [Atlassian Jira Software Feature Flags API](https://apis.io/apis/atlassian/atlassian-jira-software-feature-flags-api/)
- [Atlassian Jira Software Deployments API](https://apis.io/apis/atlassian/atlassian-jira-software-deployments-api/)
- [Atlassian Jira Software Builds API](https://apis.io/apis/atlassian/atlassian-jira-software-builds-api/)
- [Atlassian Jira Software Remote Links API](https://apis.io/apis/atlassian/atlassian-jira-software-remote-links-api/)
- [Atlassian Jira Software Security Information API](https://apis.io/apis/atlassian/atlassian-jira-software-security-information-api/)
- [Atlassian Jira Service Management Customer API](https://apis.io/apis/atlassian/atlassian-jira-service-management-customer-api/)
- [Atlassian Jira Service Management Info API](https://apis.io/apis/atlassian/atlassian-jira-service-management-info-api/)

## Tags

Pull Requests

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/atlassian/atlassian-pull-requests-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/atlassian/.
