Create pull request
create_pull_requestCreate a pull request in Azure Repos by specifying repository, source and target branches, title, and confirmation. Link work items and reviewers to streamline code review.
Instructions
Create a same-repository Azure Repos pull request. Requires write tools and confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| confirm | Yes | Must be true to perform the mutation. | |
| isDraft | No | ||
| project | No | Project name or ID. Omit to use AZURE_DEVOPS_DEFAULT_PROJECT. | |
| description | No | ||
| reviewerIds | No | Optional Azure DevOps identity IDs. | |
| workItemIds | No | Optional work items to link. | |
| repositoryId | Yes | Repository name or ID. | |
| sourceBranch | Yes | Source branch name or refs/heads/... ref. | |
| targetBranch | Yes | Target branch name or refs/heads/... ref. | |
| supportsIterations | No | Track subsequent source-branch pushes as reviewable iterations. |