We use Sonarqube (self managed).
The total “effort” that Sonarqube automatically calculates to resolve all issues would be a perfect measure that we would like to integrate into our own service overview.
Is there any way I can get this data via an API call? Or is there another way to get this data? Or is this data not currently available?
Have you tried this via the UI? The best way to master the API is to perform the desired action via the UI and eavesdrop to see which calls the UI made to accomplish the action.