Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

bitbucket pullrequests api is pulling limited information

Am in the process of creating a visualization to reflect the aging pull requests waiting for approvals.

In this process am finding that "API reflects only those pull requests information associated with the credentials am using for triggering API".
I mean, if i use my credentials of user1 to trigger the API, it returns the pull requests created by only the user1 despite it has admin privileges over the bitbucket-dev instance.
So, am exploring ways to make the API to return all the Pull requests irrespective whoever is created.
Please let me know in case of any inputs. Thank You.

1 answer

Hi, I assume this is a developer question. You may get more help in the actual Bitbucket (server) developer community here:

While the /dashboard endpoint returns the user specific set of pull requests across the instance - the /project/repo endpoint [1] gives you all PRs of that repository.

Since both endpoints don't quite cut the mustard when you need an overview of all PRs across the instance we have developed Organizr for Bitbucket which exposes a REST API that returns all pull requests that match an optional query like "q=state=open" etc.

Let me know if I can help you further.




The below APIs did helped. thought to update you.

Thank You very much for your guidance in this regard.

Suggest an answer

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

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,223 views 2 9
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