diff --git a/checking_conflicts.sh b/checking_conflicts.sh
index bfad7a5f642d005006bb287b608a449623c7bfe8..63ae68629d233060d002d10f34bbeca456522a07 100644
--- a/checking_conflicts.sh
+++ b/checking_conflicts.sh
@@ -86,6 +86,14 @@ echo "${merge_requests}" | jq -c '.[]' | while read mr; do
     result=$?
     if [ ! $result == 0 ] ; then
       echo "Merge request title: ${mr_title}, Merge Request ID: ${mr_id}" >> conflicting_merge_requests.txt
+      spec=$(git diff --name-only --diff-filter=U | grep -E "(TS|TR)")
+      sed -n '
+        /^<<<<<<< /,/^>>>>>>> / {
+          /^<<<<<<<\|^>>>>>>>/!{=;p}
+          /^>>>>>>> /a\
+
+        }
+      ' ${spec} >> conflicting_merge_requests.txt
       conflicting_merge_request_ids+=("${mr_id}")
       # Setting label to the merge request which is conflicting with
       echo "Setting label to the merge request which is conflicting with: ${mr_id}"