I am using custom task to create a pull request in release pipeline. But the task fails with error as below.
error: {"$id":"1","innerException":null,"message": You need the Git 'PullRequestContribute' permission to perform this action.
whereas, I have correctly given access for pull request contribute in repository security permissions.

You need to grant the Build Service user permissions for this to work.
Here's how:
All done.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With