Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-6156

The search of projects on contextualized Issues page should support views

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1
    • Component/s: Issues
    • Labels:
      None

      Description

      Currently, when going to the Issues page of a view, if you search for a project in the search filter, you can select projects that are not in the view. The WS that suggests projects should take this use case into account and return only the appropriate projects (based on the new Views E/S index).

      Technical details :
      A new WS will be created : /api/components/search. Parameters will be :

      • q : UTF-8 search query (Mandatory)
      • componentUuid : component uuid from where to search components (Mandatory)
      • p : 1-based page number (Default value : 1)
      • ps : page size (Default value : 10).

      Format of the return should be something like :

      "total": 22,
      "p": 1,
      "ps": 100,
      "components": [
         {
          "uuid": "8d214bca-8bea-42cc-ac32-f4fb1767339f",
          "name": "Sonar :: Integration Tests :: Simple Sample"
       }
      

      This WS will only support search of projects from a view / sub-view for the moment.

        Attachments

          Activity

            People

            Assignee:
            julien.lancelot Julien Lancelot
            Reporter:
            fabemn OLD - Fabrice Bellingard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: