We use TFS 2017 (15.117.26714.0) with git. When we try to make a pull request, TFS says "Pull request cannot be automatically merged.".
I'm just trying to figure out what's happening but I didn't find any message on why the pull request cannot be automatically merged.
Do you know how to debug "Pull request cannot be automatically merged."? Is there a hidden option or a link to a log that can help me?
Update
You can find a little report about the job that is supposed to execute the merge during the pull request on a dedicated page of the web server. You can find it in http://my.tfs.server:8080/tfs/_oi or https://my.tfs.server/_oi then search for a job named Git Native MergeJob
. You must have administrative rights to access it.
This provides a result message for that job which can be an exception with a callstack if the job has failed.
However, in my specific case, the job is executed successfully and the result message is Successfully tried merging.
while the message from the pull request is still Pull request cannot be automatically merged
.
So, I need to dig deeper and find a log (if it exists!) of that specific job. Anyone knows where I can find it?