Skip to main content

createPublishBitbucketCloudPullRequestAction()

Home > @backstage/plugin-scaffolder-backend-module-bitbucket-cloud > createPublishBitbucketCloudPullRequestAction

Creates a Bitbucket Cloud Pull Request action.

Signature:

function createPublishBitbucketCloudPullRequestAction(options: {
integrations: ScmIntegrationRegistry;
config: Config;
}): import("@backstage/plugin-scaffolder-node").TemplateAction<{
repoUrl: string;
title: string;
description?: string | undefined;
targetBranch?: string | undefined;
sourceBranch: string;
token?: string | undefined;
gitAuthorName?: string | undefined;
gitAuthorEmail?: string | undefined;
}, import("@backstage/types").JsonObject>;

Parameters

Parameter

Type

Description

options

{ integrations: ScmIntegrationRegistry; config: Config; }

**Returns:**

import("@backstage/plugin-scaffolder-node").TemplateAction<{ repoUrl: string; title: string; description?: string | undefined; targetBranch?: string | undefined; sourceBranch: string; token?: string | undefined; gitAuthorName?: string | undefined; gitAuthorEmail?: string | undefined; }, import("@backstage/types").JsonObject>