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

API v2 endpoint to get Pull Request conflict status

Right now we are using API v1 and this path to get Pull Request conflict status:


As API v1 is going to be discontinued, what API v2 endpoint should we use to get information if get PR has a conflict and can be merged? 

1 answer

1 accepted

1 vote
Answer accepted
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Dec 17, 2018

Hello there Iliya!
I spoke with my colleagues over in Bitbucket about your case.
They showed me the option of using diffstat to your needs:

- Bitbucket API - diffstat

We tested it and the conflict check was there when we tried merging conflicting commits.

Let us know if this addresses your need!

Just tried to use this API, it works. Thanks a lot!

Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Dec 21, 2018

That is wonderful Iliya! Glad to know that this new API has what you need.

If you ever need help, come get it with us at the Community!

Hey @Diegothanks for your answer! Exactly which is the field in here that indicates whether or not there are conflicts?

Like Bogdan Derevyaga likes this

@J7mboSixt  It is values/status. Its value would be merge conflict in case of PR has a conflict.

When hitting Get request on diffstat API, I'm only getting the differences for the PR not the merge conflicts status. In my case, the status is modified for the file having merge conflicts!

Any other way to check for the merge conflicts?
Like Andrei Solntsev likes this

Same here @Diego  Is there an update or alternate solution? 

Like # people like this

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events