Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to add all the committers while creating a pull request with Bitbucket API 2.0?

Akshay Maldhure February 10, 2020

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.

1 answer

1 accepted

0 votes
Answer accepted
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 11, 2020

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

Akshay Maldhure February 11, 2020

Thanks Daniil. I've opened https://jira.atlassian.com/browse/BCLOUD-19894 for this request.

Like Daniil Penkin likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events