I would like to view my merged pull request history in Bitbucket.
How do I query Bitbucket to show me only those merged pull requests where I am the author?
Hi Tony,
In the user interface, for each repository, you can check the pull requests for that repository and filter by author and status.
If you are looking for pull requests across multiple repositories, you can try the All Pull Requests add on. However, this add on does not allow to filter by user and will display the pull requests for every author.
The /rest/api/1.0/dashboard/pull-requests REST API allows more sophisticated filtering. From the endpoint documentation:
Retrieve a page of pull requests where the current authenticated user is involved as either a reviewer, author or a participant. The request may be filtered by pull request state, role or participant status.
Cheers,
Caterina - Atlassian
Oh, I see how to do it per repository. That will do for my purposes.
Thanks for your advice.
Tony
Great Tony! Happy to help!
Awesome @Tony Nordstrom (345)!
You can check out this blog post https://stiltsoft.com/blog/2020/11/how-to-export-commit-and-pull-request-data-from-bitbucket-to-csv/
It describes different ways of exporting engineering data to CSV for further processing and organization.
You can also check out Awesome Graphs for Bitbucket if you need to retrieve and export commit and pull request data to CSV on global, project, repository, and user levels, using the dedicated resources.
Why it is just about 25 rows pull request. Is there paging on pull request page?
Hi @Elva Satria Yudha,
I'm Vlada, a colleague of Irina.
Could you please clarify what you mean by 25 rows? Awesome Graphs for Bitbucket allows you to export the list of all commits or pull requests during the selected period. You can get more details here.
Kind regards,Uladzislava
Hi @Uladzislava Kastsitsyna _Stiltsoft_ Thank you for all the options that you have provided for viewing the PRs.We are user of all the Atlassian products - Jira, Bitbucket, Confluence etc. Our use case scenarios is to display the Pull requests(In a dashboard) assigned to a particular Bitbucket group, it can individual users also but we should have the ability to add multiple users.This is a basic need for most teams to have a smooth development and review process. All the methods using APIs are a bit complicated and not easy for most users to follow.I believe there can be a simple Dashboard( Jira, Confluence, etc.) for this. Can this be a possibility? I am happy to provide further information on this.Thank you
It looks like you're new here. Sign in or register to get started.