SONAR-5389 Refactor new measure API
SONAR-5389 Refactor new issue API