atlassian-python-api
atlassian-python-api copied to clipboard
Bitbucket: Feature requests: get pullrequests by commit
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].