Documentation: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/pullrequests#post
When a pull request is created manually from Bitbucket UI, there's an option (checkbox) to add all the committers as reviewers to the pull request.
I would like to know if there's any way to achieve the same (possibly by setting a flag in the request payload) through Bitbucket 2.0 API.
Hello @Akshay Maldhure,
Unfortunately this option is not available via API at the moment. You need to specify reviewers explicitly in the JSON payload.
An improvement definitely makes sense though, please don't hesitate to create a feature request in our public issue tracker, this way you'll be notified on any status updates for this feature.
Cheers,
Daniil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.