Configure Sonar-For-Stash add-in with REST API

We would like to configure and enable the sonar4stash add-in for every Git repo.  We have been using the REST API to perform bulk management of the hooks, but I do not see a similar REST API to manage the sonar4stash add-in.

Is this possible?

If there is no REST API, can I manipulate a config file in the repository?

Any approach that allows automation will be appreciated.


1 answer


We currently do not expose the settings of the plug-in via a REST API and there is also no way to alter them with a config file in the repository.

We definitely see that this would be a very useful feature. Would you mind to create a feature request at ? This way you can always stay up-to-date about the progress of implementing this feature and we can easily ask you follow-up questions on details of the implementation if necessary.

Best regards,

Michael (author of the plug-in)


Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,739 views 1 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you