Skip to main content

createPublishBitbucketServerPullRequestAction()

Home > @backstage/plugin-scaffolder-backend-module-bitbucket-server > createPublishBitbucketServerPullRequestAction

Creates a BitbucketServer Pull Request action.

Signature:

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

Parameters

Parameter

Type

Description

options

{ integrations: ScmIntegrationRegistry; config: Config; }

**Returns:**

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