atlassian-python-api icon indicating copy to clipboard operation
atlassian-python-api copied to clipboard

Bitbucket: Feature requests: get pullrequests by commit

Open h0tw1r3 opened this issue 6 months ago • 0 comments

Exposing this API would be fantastic!

https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/#api-repositories-workspace-repo-slug-commit-commit-pullrequests-get

I was able to make the query, but got an error on return type:

repository.commits.get('139c0e7ab3d45561ca1215090e236df76f358011/pullrequests')
ValueError: Expected type of data is [commit], got [paginated_pullrequests].

h0tw1r3 avatar Aug 20 '24 17:08 h0tw1r3