Uploaded image for project: 'Product Roadmaps'
  1. Product Roadmaps
  2. MMF-1798

SonarCloud can synchronize members from BitBucketCloud


    • Type: MMF
    • Status: To Do
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: None
    • Labels:



      We want to ease the onboarding of BBC users on SonarCloud and the configuration of the SonarCloud organization. Like for GitHub (https://jira.sonarsource.com/browse/MMF-1540), we want to provide the ability to synchronize the members of a SonarCloud org that is bound to a BitBucketCloud team.


      The use cases are the same as https://jira.sonarsource.com/browse/MMF-1540

      We first tried to synchronize members for BBC but faced several limitations. We need to dig into what we can achieve with the available resources.

      Objective : retrieve all users from a team, be able to map BBC users with SC users and receive notifications when there is a change in the BBC team, especially when a user is removed from a team, so that we can directly remove the SC user from the SC org


      Idea: Since we are limited by the fact that we don't have a webhook to be notified when a user is removed from a BB team and thus cannot provide a full members sync, maybe we could still do one first step to help admins configure the org, as a one shot (as we can get the list of members from BBC). So we could think of a manual sync for ex. : retrieve, add, remove members from BB at a manual action from the admin.


      See if we can use https://developer.atlassian.com/bitbucket/api/2/reference/resource/teams/%7Busername%7D/permissions

      Question : how do we handle automatically removing of a member from an org when the member is removed from the BBC team ?









            • Assignee:
              aurelie.boiteux Aurélie Boiteux
              aurelie.boiteux Aurélie Boiteux
            • Votes:
              0 Vote for this issue
              1 Start watching this issue


              • Created: