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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Looking for API endpoint for pull requests that have met merge checks/restrictions

I'm having trouble finding a way to see whether or not a pull request has passed all the merge checks, such as "Minimum number of approvals"

I thought it would be available in the specific pull request endpoint as seen below:<workspace>/<repo>/pullrequests/<pull_request_id>

but it doesn't seem to be the case. I also tried the branch restrictions for a branch as well though I don't believe it returns the right details regarding the rules for the branch.  

I've read that previously in 1.0 there was a parameter "canMerge" that showed that it passed all the checks. Anyone have any idea if there is any endpoints that can show this info?

1 answer

0 votes

Hi Cyrus and welcome to the community.

I'm afraid that our API does not return this information at the moment.

We have a feature request for what you are asking in our issue tracker:

The request was closed a few days ago as 'Won't Fix', but I would like to encourage you to add your vote in there (by selecting the Vote for this issue link), as the number of votes helps the development team and product managers better understand the demand for new features. If there is more demand for this feature, our development team may reconsider it.

You are more than welcome to leave any feedback, and you can also add yourself as a watcher (by selecting the Start watching this issue link) if you'd like to get notified via email on updates.

Kind regards,

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events