The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events