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
}
]
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.