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

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,787 views 0 7
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