Socket
Book a DemoInstallSign in
Socket

@managed-api/bitbucket-cloud-v2-sr-connect

Package Overview
Dependencies
Maintainers
9
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@managed-api/bitbucket-cloud-v2-sr-connect

Adaptavist Managed API for Bitbucket Cloud for ScriptRunner Connect environment

2.5.0
latest
npmnpm
Version published
Weekly downloads
3
-25%
Maintainers
9
Weekly downloads
 
Created
Source

ScriptRunner Connect Managed API for Bitbucket Cloud

Managed API for Bitbucket Cloud is an API Client for Bitbucket Cloud by Adaptavist. You can read more about Managed APIs here.

This is ScriptRunner Connect runtime specific version of the Managed API (with sr-connect suffix). If you want to use Managed API in any other runtime, have a look at the runtime agnostic version.

Supported API calls

Constructing Managed API

In ScriptRunner Connect a Managed API is constructed for you, but if you need to construct it manually, here's how you can do it:

import { BitbucketCloudApi } from '@managed-api/bitbucket-cloud-v2-sr-connect';

export default async function() {
    const api = new BitbucketCloudApi('API_CONNECTION_ID');
}

Contact

Feel free to drop ideas, suggestions or improvements into our Community hub.

Changelog

2.5.0

  • Changed the following methods:

    • Repository.Pipeline.findPipelines: Change the type of sort request parameter to string.

2.3.0

  • Removed non-empty body from HEAD requests.

2.2.0

  • Changed the following methods:

    • Repository.Commit.Status.getStatuses: Add refname parameter.
    • Repository.Branch.Restriction.createRestriction: Add require_commits_behind, allow_auto_merge_when_builds_pass and require_all_comments_resolved to kind.
    • Repository.Pipeline.findPipelines: Several new parameters.
  • Following responses got changed:

    • AccountAsResponse is used instead of ReviewerAsResponse.
  • Improved error messaging

2.1.0

2.0.1

  • Fixed the following method to use the appropriate header:

2.0.0

  • Breaking change: URL and query string parameters are now URL encoded, meaning if you encoded them explicitly before you have to remove your own encoding, otherwise they will get double encoded.

0.12.0

  • Changed response type for following Repository methods:

0.11.0

Copyright Adaptavist 2025 (c) All rights reserved

FAQs

Package last updated on 14 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.