Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bitbucket: Feature requests: get pullrequests by commit #1443

Open
h0tw1r3 opened this issue Aug 20, 2024 · 0 comments
Open

Bitbucket: Feature requests: get pullrequests by commit #1443

h0tw1r3 opened this issue Aug 20, 2024 · 0 comments

Comments

@h0tw1r3
Copy link

h0tw1r3 commented Aug 20, 2024

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].
@gonchik gonchik changed the title Feature: get pullrequests by commit Bitbucket: Feature requests: get pullrequests by commit Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant