When a new class is added, despite the issues existent in that class are identified and assigned to the author, in the notification email, the number of issues is 0 and the filter filter provided by the URL doesn’t contains those issues:
In this case the issues for class FilterAoRButtonCloneTestSonarQube.java have, in SonarQube, creation date 11:26 (when commit was done), but in the url the date is 11:32 (10:32 UTC time)
File svn information: Last Changed Date: 2019-08-26 11:26:11 +0100 (Mon, 26 Aug 2019)
I looked into your problem and created SONAR-12423: the line with 0 issue should not appear in the email.
Regarding file FilterAoRButtonCloneTestSonarQube.java being new but not having any issue in the notification, note that the notification only report issues created by the current analysis which have not been backported to a previous date or reopened.
Have a look at the file issues’ changelog to find out more about this.
How can I find issues changelog in a file?
In the case of FilterAoRButtonCloneTestSonarQube.java than is it been backported to file creation date is that it? Is that information “Understanding Issue Backdating” in https://docs.sonarqube.org/latest/user-guide/issues/ ?
We'll add three new backdating cases:
* file was added to the project since previous analysis (doesn't mean the file is new, could be because an exclusion was removed)
Example - file file with date 11:26 is backdated (new file) to the commit datetime
Is it possible not to use the backdating in this case?