Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change pull request's target via Azure DevOps API

The documentation says that the TargetRefName can be updated when "PR retargeting feature is enabled" but I can't find this option anywhere and can't see any documentation about how to enable it either.

How do I enable PR retargeting so that I can update the PR's target?

https://learn.microsoft.com/en-us/rest/api/azure/devops/git/pull%20requests/update?view=azure-devops-rest-5.1

like image 294
Gibb Sonn Avatar asked Nov 27 '25 06:11

Gibb Sonn


1 Answers

see this image

Click on the more action button(...) and you will see "Change target branch"

like image 89
pedram Avatar answered Nov 28 '25 22:11

pedram



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!