Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-55818

Extend REST API to enable navigation by modules, issue types, priority etc.

XMLWordPrintable

      The web gui of the static analysis plugin allows me to navigate and sort the data by modules, issue types and filter by severity. However, the io.jenkins.plugins.analysis.core.restapi.AnalysisResultApi doesn't return the required information to navigate e.g. to a specific module. Currently the only navigation path is for ./new, ./fixed and ./all. 

       

      However, when using the web gui, and navigating to a specific module, then a URL is generated for this module, and this can be used to get the data RESTful for the module (like cppcheck/moduleName.192380630/{{type.1844850586/}}api/json). 

       

      With the legacy plugin we are currently displaying Warnings by level, with hyperlinks to the Jenkins warnings web ui. 

       

       

      I would also appreciate the tree query syntax, so that it would be possible to retrieve one dataset with all the information needed (So that the AnalysisResultApi serves as an entry point, from which a tree down to the issues could be retrieved)

            Unassigned Unassigned
            sschlet Stefan Schletterer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: