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 | undefined;
targetBranch?: string | undefined;
sourceBranch: string;
token?: string | undefined;
gitAuthorName?: string | undefined;
gitAuthorEmail?: string | undefined;
}, import("@backstage/types").JsonObject>;

Parameters

ParameterTypeDescription
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>