Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is there anyway to get PR id from commit hash?

Đạt Lê Văn 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