Skip to main content

createGitlabIssueAction()

Home > @backstage/plugin-scaffolder-backend-module-gitlab > createGitlabIssueAction

Creates a gitlab:issues:create Scaffolder action.

Signature:

createGitlabIssueAction: (options: {
integrations: ScmIntegrationRegistry;
}) => import("@backstage/plugin-scaffolder-node").TemplateAction<{
title: string;
repoUrl: string;
projectId: number;
labels?: string | undefined;
description?: string | undefined;
weight?: number | undefined;
token?: string | undefined;
assignees?: number[] | undefined;
createdAt?: string | undefined;
confidential?: boolean | undefined;
milestoneId?: number | undefined;
epicId?: number | undefined;
dueDate?: string | undefined;
discussionToResolve?: string | undefined;
issueType?: IssueType | undefined;
mergeRequestToResolveDiscussionsOf?: number | undefined;
}, {
issueUrl: string;
issueId: number;
issueIid: number;
}>

Parameters

Parameter

Type

Description

options

{ integrations: ScmIntegrationRegistry; }

Templating configuration.

**Returns:**

import("@backstage/plugin-scaffolder-node").TemplateAction<{ title: string; repoUrl: string; projectId: number; labels?: string | undefined; description?: string | undefined; weight?: number | undefined; token?: string | undefined; assignees?: number[] | undefined; createdAt?: string | undefined; confidential?: boolean | undefined; milestoneId?: number | undefined; epicId?: number | undefined; dueDate?: string | undefined; discussionToResolve?: string | undefined; issueType?: IssueType | undefined; mergeRequestToResolveDiscussionsOf?: number | undefined; }, { issueUrl: string; issueId: number; issueIid: number; }>