Is there anyway to get PR id from commit hash?

Đạt Lê Văn
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 17, 2022

In Bitbucket UI, in the commit it showing the PR that merges the commit. But when I use bitbucket API to retrieve commit info it doesn't show the PR.

/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}

Is there anyway to get the PR id from the commit hash by using bitbucket API?

Capture.PNG

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events