CmdID / az / az repos / az repos pr
az repos pr update
Update a pull request. Azure CLI extensions reference
12 options Its page in the Azure CLI extensions reference
Options
--auto-completeSet the pull request to complete automatically when all policies have passed and the source branch can be merged into the target branch.--bypass-policy-reasonReason for bypassing the required policies.--bypass-policyBypass required policies (if any) and completes the pull request once it can be merged.--delete-source-branchDelete the source branch after the pull request has been completed and merged into the target branch.--descriptionNew description for the pull request.--draftPublish the PR or convert to draft mode.--idID of the pull request.--merge-commit-messageMessage displayed when commits are merged.--squashSquash the commits in the source branch when merging into the target branch.--statusSet the new state of pull request.--titleNew title for the pull request.--transition-work-itemsTransition any work items linked to the pull request into the next logical state.