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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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

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
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,842 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you