I propose to add these 3 tasks in digital.ai Release sonarqube's plugin as it was required by our clients:

3 tasks :
 Get Issues
 Get Measures
 Get Project Analyses
Exemple endpoint ISSUES: "/api/issues/search?branch=develop&componentKeys*****&s=FILE_LINE&resolved=false&severities=BLOCKER&ps=100&facets=owaspTop10%2CsansTop25%2Cseverities%2CsonarsourceSecurity%2Ctypes&additionalFields=_all&timeZone=Europe%2FParis"

Exemple endpoint MEASURES: "api/measures/component?additionalFields=period,metrics&branch=xl_release&component=*****&metricKeys=alert_status,quality_gate_details,bugs,new_bugs,reliability_rating,new_reliability_rating,vulnerabilities,new_vulnerabilities,security_rating,new_security_rating,security_hotspots,new_security_hotspots,security_hotspots_reviewed,new_security_hotspots_reviewed,security_review_rating,new_security_review_rating,code_smells,new_code_smells,sqale_rating,new_maintainability_rating,sqale_index,new_technical_debt,coverage,new_coverage,lines_to_cover,new_lines_to_cover,tests,duplicated_lines_density,new_duplicated_lines_density,duplicated_blocks,ncloc,ncloc_language_distribution,projects,lines,new_lines,blocker_violations"

Exemple endpoint PROJECT ANALYSES:"/api/project_analyses/search?branch=xl_release&project=******&ps=1"

Comments

  • Thank you for the suggestion.

    We have internally logged a defect to ensure that this request is properly displayed in the IdeaSpace.

    We'll be keeping a close watch on the upvotes for this idea and aiming to address it after the Fuji release timeframe.

  • As a part of our investigation, we found out that even with the specific filters applied the log file size is huge and the file gets truncated inside the Release.
    We would like to have a dedicated session to understand to find a way for a workaround.