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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,753 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you