repo_create_pull_request
Create a pull request in Azure DevOps by specifying source and target branches, title, and optional details. Connects via PAT authentication to streamline repository collaboration.
Instructions
Create a new pull request.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
description | No | The description of the pull request. Optional. | |
forkSourceRepositoryId | No | The ID of the fork repository that the pull request originates from. Optional, used when creating a pull request from a fork. | |
isDraft | No | Indicates whether the pull request is a draft. Defaults to false. | |
repositoryId | Yes | The ID of the repository where the pull request will be created. | |
sourceRefName | Yes | The source branch name for the pull request, e.g., 'refs/heads/feature-branch'. | |
targetRefName | Yes | The target branch name for the pull request, e.g., 'refs/heads/main'. | |
title | Yes | The title of the pull request. | |
workItems | No | Work item IDs to associate with the pull request, space-separated. |