Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to list pull requests? Previous solutions are not working

Thierry Legrain
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 7, 2020

Using Bitbucket Cloud.

With ls-remote, show-refs, or some other git command, I would like to obtain a list of current pull-requests from origin in our repos.

I have read and applied changes mentioned in:
"Show refs of pull requests in stash" and in "Pull request proficiency: Fetching abilities unlocked!"
nothing has worked so far.

Suggestions are appreciated.

1 answer

1 accepted

0 votes
Answer accepted
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 7, 2020

The only way to do this without going into Bitbucket would be to use the REST API to get a list of current pull requests, since this information is not stored in the repository. Have a look at pullrequests for more information on what you can get from the REST API.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events