CreatePullRequest
Create a pull request.
Input
Name | Type | Required | Description |
ProjectId | String | True | Id of the project. |
RepositoryId | String | True | Id of the repository. |
Title | String | True | Title of the pull request. |
Description | String | False | The description of the pull request. |
SourceRefName | String | True | The name of the source branch of the pull request. |
TargetRefName | String | True | The name of the target branch of the pull request. |
CompletionOptions | String | False | Options which affect how the pull request will be merged when it is completed. |
IsDraft | Boolean | False | Draft / WIP pull request. |
Labels | String | False | The labels associated with the pull request. |
MergeOptions | String | False | Options used when the pull request merge runs. |
Reviewers | String | False | A list of reviewers on the pull request. |
WorkItemRefs | String | False | Any work item references associated with this pull request. |
Result Set Columns
Name | Type | Description |
Status | String | Stored procedure execution status. |
PullRequestId | Integer | Id of the created pull request. |