editGitlabIssueAction()
Home > @backstage/plugin-scaffolder-backend-module-gitlab
> editGitlabIssueAction
Creates a gitlab:issue:edit
Scaffolder action.
Signature:
editGitlabIssueAction: (options: {
integrations: ScmIntegrationRegistry;
}) => import("@backstage/plugin-scaffolder-node").TemplateAction<{
repoUrl: string;
projectId: number;
issueIid: number;
title?: string | undefined;
labels?: string | undefined;
description?: string | undefined;
weight?: number | undefined;
token?: string | undefined;
assignees?: number[] | undefined;
addLabels?: string | undefined;
confidential?: boolean | undefined;
milestoneId?: number | undefined;
removeLabels?: string | undefined;
stateEvent?: IssueStateEvent | undefined;
discussionLocked?: boolean | undefined;
epicId?: number | undefined;
dueDate?: string | undefined;
updatedAt?: string | undefined;
issueType?: IssueType | undefined;
}, {
state: string;
title: string;
projectId: number;
updatedAt: string;
issueUrl: string;
issueId: number;
issueIid: number;
}>
Parameters
Parameter |
Type |
Description |
---|---|---|
options |
{ integrations: ScmIntegrationRegistry; } |
Templating configuration. |
import("@backstage/plugin-scaffolder-node").TemplateAction<{ repoUrl: string; projectId: number; issueIid: number; title?: string | undefined; labels?: string | undefined; description?: string | undefined; weight?: number | undefined; token?: string | undefined; assignees?: number[] | undefined; addLabels?: string | undefined; confidential?: boolean | undefined; milestoneId?: number | undefined; removeLabels?: string | undefined; stateEvent?: IssueStateEvent | undefined; discussionLocked?: boolean | undefined; epicId?: number | undefined; dueDate?: string | undefined; updatedAt?: string | undefined; issueType?: IssueType | undefined; }, { state: string; title: string; projectId: number; updatedAt: string; issueUrl: string; issueId: number; issueIid: number; }>