New code analysis not working in both VSCode and Eclipse sonarqube for IDE

  • Operating system: Windows 11
  • IDE name and version: Eclipse, IBm developer for zOS 17.0.2
  • SonarQube for Eclipse plugin version: 11.11
  • sonarsource.sonarlint-vscode: 4.26.0
  • Programming language you’re coding in: COBOL
  • Is connected mode used: Yes
    • SonarQube Server

Problem description:
we have a sonarqube server setup and our COBOL projects have been configured with New code analysis as Previous version. when i run the analyze from my eclipse IDE, instead of just new code, i am seeing the markers for the whole code. i have also selected “Show sonar qube markers only for new code” in preferences. I am running in connected mode, have bound the local project to sonarqube server.
I am facing similar issue from vscode sonarqube for IDE plugin as well.