The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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
TAGS
AUG Leaders

Atlassian Community Events