restpull-requestbitbucket-server

How to: [REST] Get and Set Default Reviewers for a repository in Atlassian Stash (Bitbucket Server) programmatically using REST API


So... my current project includes making a script which will configure repositories programmatically on our Stash server (aka BitBucket server). This includes setting the default reviewers for each repository. Is there a REST API for this?


Solution

  • I know this is an old issue, but just wanted to note that as of Bitbucket Server 5.1 the default reviewers REST API has been made public: https://confluence.atlassian.com/bitbucketserverkb/how-to-retrieve-default-reviewers-via-rest-api-in-bitbucket-server-1047535034.html

    recent version, curl examples at the bottom of the page https://confluence.atlassian.com/bitbucketserverkb/how-to-retrieve-default-reviewers-via-rest-api-in-bitbucket-server-1047535034.html