SonarQube analysis results can contain a number of additional "metricKeys" - which provide additional context on the analysis results. In particular I'm looking to build a metric which measures the "size" of a Pull Request - taking into account # lines changed, # files changed, cyclomatic complexity and cognitive complexity. All of this information is available in SonarQube (assuming the quality profiles are set up). But the Sonar integration to Port will not currently support fetching these values. When I map the .measures JSON object from the integration, I'm not seeing all of the metrics which are available from Sonar: { "ncloc_change": "0", "coverage_change": "0.0", "violations_added": "3", "violations_fixed": "0", "duplicated_lines_density_change": "0.0" } As far as I can tell, the metric keys are available via the /api/measures/component endpoint: curl --location 'https://sonarcloud.io/api/measures/component?component=PROJECT_KEY&pullRequest=123&metricKeys=cognitive_complexity%2Ccomplexity%2Cnew_lines' \ --header 'Authorization: Bearer SECURITY_TOKEN' { "component": { "id": "...", "key": "PROJECT_KEY", "name": "PROJECT_NAME", "qualifier": "TRK", "measures": [ { "metric": "complexity", "value": "114" }, { "metric": "new_lines", "periods": [ { "index": 1, "value": "558" } ] }, { "metric": "cognitive_complexity", "value": "682", "bestValue": false } ], "pullRequest": "123" } } Having the ability to configure which metric key values we want to ingest would be very useful. Yes, those complexity figures are extremely high - I've generated some terrible code as a PoC for building up our metric! :)