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

Get all Pull requests, reviewers, reviewers and who approved

GrDevTech
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!
June 27, 2024 edited

I would like to export/get all from repo or project the pull request information like it:

"project":"projectName"

"pullrequests": [

 

{

"pull-request-id": "fiwjf982f3jf",

"owner":"user3",

"reviewers":["user1","user2"],

"users-approvals":["user1"],

"isMerged": true

}

 

]

1 answer

1 accepted

1 vote
Answer accepted
Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 4, 2024

This is the primary REST API end-point you will need: https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/#api-repositories-workspace-repo-slug-pullrequests-get

If it doesn't supply all the information you request, check out other REST API end-point as you may need to make multiple calls.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, ace, atlassian community event, donation, girls who code, women in tech, malala fund, plan international, kudos, community badge, badge, atlassian badge, International Women’s month, International Women’s Day, women's month, women's day

10 for Change at Atlassian Community Events

Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!

Join an Atlassian Community Event!
AUG Leaders

Upcoming Bitbucket Events