Missed Team ’24? Catch up on announcements here.

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

Is there any way I can get number of behind commits in API for a particular PR?

Prasad
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!
March 31, 2021

I have been working on repository cleanup and we are planning to deny all the PRs which are just sitting and are so much behind the destination branch.

 

to identify which PR should be denied I need to know how many commits the branch is behind from destination branch. this we can get from bitbucket UI easily but as we need to automate this I want to know if there is any API to do the fetch the required info for me.

 

Thanks in advance

Regards,

Prasad

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events