You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hi @Esteban Vargas,
You can use the following endpoint:
Please follow the steps below in order to install the Pull Request Commit Links app first:
You only need to do this once for a specific workspace, and then please try running the API call again.
In case you still have issues, could you please provide the API call you are running and the full output? Make sure to sanitize any private/sensitive data in the call prior to sharing it here.
Thanks! This works.
Following the steps to install Pull Request Commit Links you outlined solved this issue for us! I think that should be included on the docs
And second, the docs also need a small update: The docs say this endpoint doesn't need a Bearer token, but it does
It's good to hear that the issue has been solved!
Would you mind telling me where exactly you saw that this endpoint doesn't need authentication? Accessing any private content always requires authentication.
The instructions on how to install the app are included in the doc, although not in as much detail as my previous post. I will reach out to the team that maintains this doc to improve it.
I found in that same page, in the "List pull requests that contain a commit" part that:
Pull Request Commit Links app must be installed first before using this API; installation automatically occurs when 'Go to pull request' is clicked from the web interface for a commit's details.
Hi @Akshara Anilkumar and welcome to the community!
Please see my response here with steps you need to follow before using this endpoint: https://community.atlassian.com/t5/Bitbucket-questions/API-v2-how-to-get-the-list-of-pull-requests-that-a-commit-is/qaq-p/2225426#M88911
If you are still experiencing issues, please create a new question via https://community.atlassian.com/t5/forums/postpage/board-id/bitbucket-questions and provide more details, like the API call you are running and the output you get (after sanitizing private data).
It's best to have a separate question if you need assistance, otherwise, an existing question can become difficult to follow if we try to troubleshoot multiple users' issues.