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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.