We are searching for API in which we can find that in any particular pull request there is some conflict.
Or any API from which we can find the conflict status of the pull request.
Like here there is conflict in Pull Request. So how to get that conflict or status that in this Pull Request there is some conflict
status**
Hello @jagadeesh ,
Welcome to the Community!
Here's the endpoint you need: /2.0/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/diffstat
It returns status for each file of the pull request, conflicts will have "merge conflict" status.
Hope this helps.
Cheers,
Daniil
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.