The Bitbucket Server Automation module is used to interact with Bitbucket Server.

Minimum PowerShell version


Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name BitbucketServerAutomation

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


WebMD Health Services


(c) 2016 - 2018 WebMD Health Services. All rights reserved.



git bitbucket bitbucket-server scm devops pipeline atlassian


Find-BBServerRepository Disable-BBServerHook Enable-BBServerHook Get-BBServerBranch Get-BBServerChange Get-BBServerCommitBuildStatus Get-BBServerDefaultReviewer Get-BBServerFile Get-BBServerHook Get-BBServerProject Get-BBServerPullRequest Get-BBServerPullRequestSetting Get-BBServerRepository Get-BBServerTag Get-BBServerUser Invoke-BBServerRestMethod Merge-BBServerPullRequest Move-BBServerRepository New-BBServerBranch New-BBServerConnection New-BBServerDefaultReviewer New-BBServerProject New-BBServerPullRequest New-BBServerRepository New-BBServerTag Remove-BBServerRepository Rename-BBServerRepository Set-BBServerCommitBuildStatus Set-BBServerDefaultBranch Set-BBServerDefaultReviewer Set-BBServerPullRequestSetting


Desktop Core


This module has no dependencies.

Release Notes

* Created `Get-BBServerUser` function for getting a Bitbucket Server user account.
* Added a `Parameter` parameter to `Invoke-BBServerRestMethod` which takes a hashtable representing the request query parameters to include when calling an API resource.
* Created `Get-BBServerDefaultReviewer` function for getting all default reviewer conditions for a project or repository.
* Created `New-BBServerDefaultReviewer` function for creating a new default reviewer pull request condition for a project or repository.
* Created `Set-BBServerDefaultReviewer` function for updating an existing default reviewer pull request condition for a project or repository.

Version History

Version Downloads Last updated
0.9.0 (current version) 6,810 1/11/2019
0.8.0 35 12/3/2018
0.7.0 217 8/23/2017
0.6.0 12 8/17/2017
0.5.0 10 8/11/2017
0.4.0 21 8/1/2017
0.3.0 19,841 7/24/2017
0.2.3 13 7/15/2017
0.2.2 9 7/14/2017
0.2.1 381 6/16/2017
0.2.0 13 6/13/2017
0.1.0 13 6/5/2017