Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-11037 Show list of personal public repositories from GitHub or BitBucket Cloud with link status
  3. SONAR-11055

Add list of public respositories in personal organization/team to WS api/alm_integration/list_repositories

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.4
    • Component/s: Web API
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      When the GitHub/BitBucketCloud integration is installed for the personal organization/team of the current user, the list of the public repositories in this organization/team must be returned.

      New response:

      {
       "almIntegration": {
          "installed": true,
          "installationUrl": "blablabl"
        },
       "repositories": [{
         "label": "My Repo",
         "installationKey": "[org/team]/repo",
         "linkedProjectKey": "repo_1",
         "linkedProjectName": "My Repo"
       }]
      }
      

      "repositories" is empty if ALM integration is not installed for the personal organization of the current user.
      "installationKey" contains a string, which may change from one ALM to another, with the required information to identify a repository. This field's value will be passed, as is, to the WS api/alm_integration/provision_project (see SONAR-11056)
      "linkedProjectKey" and "linkedProjectName" are set only if a project linked to the specified repository exists in the personal organization of the current user.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sebastien.lesaint Sebastien Lesaint
              Reporter:
              sebastien.lesaint Sebastien Lesaint
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: