Static Code Analysis Summary button in User Story is not showing results

We have improved the Static Code Analysis feature in Copado v11. If you are in a previous version of Copado, the button Static Code Analysis Summary in the user stories will not display results. In order to use this feature you must upgrade to Copado v11. You will find the instructions to upgrade to the latest version of Copado here.

After the upgrade, you must follow the instructions below (included here: https://docs.copa.do/copado-app/version-11-upgrade-instructions) to make sure you can use the feature.

1. Grant FLS in the profile to the following fields: 

Object: Static_Code_Analysis_Violation__c 

Fields: 
copado__Static_Code_Analysis_Violation__c.File__c 
copado__Static_Code_Analysis_Violation__c.Line__c 
copado__Static_Code_Analysis_Violation__c.Priority__c 
copado__Static_Code_Analysis_Violation__c.Rule__c 
copado__Static_Code_Analysis_Violation__c.Message__c 
copado__Static_Code_Analysis_Violation__c.Score__c 
copado__Static_Code_Analysis_Violation__c.Info_URL__c 
copado__Static_Code_Analysis_Violation__c.Static_Code_Analysis_Result__c 
copado__Static_Code_Analysis_Violation__c.Info_URL_Link__c 

Object: Static_Code_Analysis_Result__c 

Fields: 
copado__Static_Code_Analysis_Result__c.Number_of_Violations__c 
copado__Static_Code_Analysis_Result__c.Details__c 
copado__Static_Code_Analysis_Result__c.Score_v11__c 

2. Remove the button "Static Code Analysis Summary" in the User Story layout. 

3. In the Static Code Analysis Result layout: 

Remove: Rules Violated and copado.Score. 
Include: Number of Violations and copado.Score_v11. 
Include: Related List Static Code Analysis Violations. We recommend to have Name, File, Rule, Priority, Message and Info URL fields added to this related list. 

User-added image

Once this is done, in order to check the Static Code Analysis results you have to go to the latest Static Code Analysis Result in the User Story and navigate to the Static Code Analysis Violations related list. 


User-added image

How did we do?