Hello! I’m working on a SonarQube plugin where I’ve implemented a sensor to introduce an Integer metric that can be either 0 or 1. At the project level, I can view this metric in the “measures” tab under the assigned domain. However, my objective is to display this metric at the portfolio level, and I’m encountering challenges in achieving this. Despite successfully seeing the metric at the project level, it doesn’t appear in the “measures” tab of the portfolio.
To elaborate, let’s consider a portfolio with three projects. Two of them have this metric set to ‘1’, and the third one has it at ‘0’. My goal is to aggregate or display this metric at the portfolio level, showing the count or sum of ‘1’ values, which should be ‘2’. Any guidance on how to achieve this at the portfolio level would be greatly appreciated.