How to map a QualityGate Profile for the new project component key using sonar qube api

Is there any API to map the new comp key generated to a Quality Gate profile available in the sonarqube?

Hi Sharad,

Please, make sure to share the must-have information when asking for help here:

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • what are you trying to achieve
  • what have you tried so far to achieve this

Regards,
Daniel