UpdatePullRequestBranch
Synchronizes a pull request branch with its base branch by merging or rebasing updates, ensuring consistency with the upstream repository.
Input
| Name | Type | Description |
| PullRequestId | String | The unique node ID identifying the pull request to be updated. |
| ExpectedHeadOid | String | The current head reference object ID (OID) of the upstream branch, used to ensure branch consistency before updating. |
| UpdateMethod | String | The method to use for updating the branch. This defaults to 'MERGE' if no specific method is provided. Other options might include 'REBASE'.
The allowed values are MERGE, REBASE. |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | A Boolean value indicating whether the branch update operation completed successfully. |
| Details | String | Additional information or context about the execution of the branch update operation, such as error messages or status details. |
| PullRequestId | String | The unique ID of the pull request after the update operation is completed. |