Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,777
Community Members
 
Community Events
176
Community Groups

Need an automation strategy for populating "Sonar" plugin configuration

We really need the ability to use a REST api to configure new BitBucket code repos.  Specifically, the settings for the "Sonar" plugin requires editing fields on several tabs.  It's very tedious (and more importantly, error-prone) for admins to step through all of those fields according to a script and set them all properly.

As far as I can tell, there is no way to do this with the REST api.  I've searched through the REST api documentation, and even posted a question on StackOverflow (no response).

Is there any viable strategy for this?

2 comments

Hi,

Have you checked our REST API for repository settings setup?

https://mibexsoftware.github.io/sonar-bitbucket-server-rest-api/

Please let me know if you miss something.

Best regards,
Michael (app vendor)

Is there a similar feature for Bitbucket Cloud? We are looking to integrate sonarqube analysis and bitbucket cloud so that reviewers can see the analysis of the build in the context of the PR. 

Actually, I realized that we can set properties in the project and set the Sonar configuration in each repo to inherit from the project.  We have a very small number of projects, with a large number of repositories in each project.

Comment

Log in or Sign up to comment
TAGS

Atlassian Community Events