Version 8.4 (build 35506)
Project level settings allow you to configure how “New Code” is calculated (Previous Version, Number of Days, Reference Branch).
You can also configure the setting on a per branch basis.
In order to configure the setting on a branch, the branch must exist, and must therefore have had a scan done. However this means we must do 2 scans with a manual, UI step in the middle in order to get the desired new code analysis. Surely this is not as intended? Is there some property I am missing in order to set this when the first scan is done?
The use case is - “short lived” bugfix branch being scanned using a target release branch as the reference branch to determine new code.
Its a large project and doing the scan twice is really inconvenient (as is manually setting the branch via the UI) and I cannot believe having to do the scan twice is how this feature can have been designed - I must be missing something!