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 query all pull requests on a workspace and who is assigned?

I would like to know how many devs in my team are assigned a pull request. How can I find this information? Is there a way to query all the PRs and the devs they are assigned to?

1 answer

1 vote
Norbert C Atlassian Team Dec 06, 2021

Hi Dina,

Thank you for contacting Atlassian Community, I'm Norbert from Atlassian Bitbucket Cloud Support, it's nice to meet you!

Based on my observation you would like to query all pull requests on a workspace. Unfortunately this functionality is not available yet. We have a feature request for this:

BCLOUD-11980 - API: Show Pull Requests for All Repositories

Our development team will give a first-hand update on that ticket if there's any progress made so I would suggest keeping a watch and vote for it.

 

Do note however that there's no ETA on enhancement request, and all enhancements are implemented with this policy in mind: Implementation of New Features Policy

 

Best Regards,
Norbert
Atlassian Bitbucket Cloud Support

Thank you Norbert,

Are there any third-party apps that allow doing that? A quick solution I can think of is using the REST API to iterate through the repos in the workspace and check the pull requests. It will be a very expensive and slow operation though.

Norbert C Atlassian Team Dec 08, 2021

You're welcome Dina. 

You're right, the quick solution which you mentioned is a good workaround, but as you've said unfortunately it's expensive and slow as you might need to query a lot of repositories and the associated pull requests.

When I reviewed the third party apps for Bitbucket Cloud, unfortunately couldn't find an app, which would query all the pull requests.

Best Regards,
Norbert
Atlassian Bitbucket Cloud Support

Like Dina likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

174 views 2 4
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