Must-share information (formatted with Markdown):
which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
what are you trying to achieve
Importing a bitbucket project through the web_api
what have you tried so far to achieve this
I have been trying to create new projects through the web_api with success through the projects/create endpoint.
However, I was wondering if it was possible to import bitbucket projects directly via the bitbucket integration (through an API endpoint). The issue is that, when I create a project through the projects/create endpoint, the project is not directly linked with the bitbucket repo. What I mean with this is when I would go to the SonarQube UI and try to set up the same project through the bitbucket integration, it does not tell me that its ‘Already set up’. I would like to avoid duplicate project creation when people try to create projects through the UI.
Question is: Is the above possible through an API endpoint?
Thanks in advance!