Saltar al contenido principal

Create a Jira issue

Pasojira-create-issuesaveefectos externos

Creates an issue in a Jira project, with its summary, description, labels, assignee and parent.

De un vistazo​

PropiedadValor
Nombre del pasojira-create-issue
RecursoClusterStep (lumen.ai/v1alpha1)
Grupo de la paleta, categoríasave, jira
Créditos0.5 créditos cada vez que tiene éxito
Efectos externossí Cambia algo fuera de Lumen, así que un reintento pregunta antes y una prueba muestra lo que haría en lugar de hacerlo.
La instalación debe aportarnada

Entradas​

PropiedadValor
Necesitanada
Producefields
Trabaja sobreitem un documento cada vez

Necesita y Produce son tipos de datos (file, text, fields, email). El editor ofrece un paso solo donde lo que necesita ya está en el camino. Consulta Documentos y datos.

Salidas​

Un nodo posterior se refiere a una salida como {nodeId.field} en un texto, o nodeId.field en una condición.

SalidaTipo
keystring
issueIdstring
urlstring

Ajustes​

Se definen bajo config: en el nodo del flujo. Los ajustes de texto pueden contener marcadores de posición como {nodeId.field}.

AjusteTipoValor por defectoDescripción
connectorRefstring-Jira connectionminLength 1
projectobligatoriostring-Such as PROJ, as it starts the project's issue keys.minLength 1; maxLength 200
issueTypestring"Task"Issue typemaxLength 100
summaryobligatoriostring-SummaryminLength 1; maxLength 1000
descriptionstring-Plain text; **bold**, lists, headings and links work.maxLength 32000
labelslist of string-LabelsmaxItems 20
assigneestring-An email or a Jira account id; empty leaves it unassigned.maxLength 200
prioritystring-PrioritymaxLength 100
parentstring-An issue key such as PROJ-12: the epic the new issue belongs to, or the issue a subtask sits under. Empty creates it on its own.maxLength 200

El JSON Schema completo de estos ajustes: jira-create-issue.schema.json.

Ejemplo​

config
description: |-
**Invoice:** {invoiceNumber}

Please check the amount.
issueType: Task
labels:
- supplier
project: OPS
summary: Complaint from {supplier}

Úsalo en un flujo​

Un nodo que ejecuta jira-create-issue va bajo spec.nodes de un Flow. Dale cualquier id y enumera en next los ids de los nodos siguientes.

flow.yaml
apiVersion: lumen.ai/v1alpha1
kind: Flow
metadata:
name: jira-create-issue-example
namespace: tenant-acme
spec:
displayName: "Create a Jira issue"
triggers:
- id: start
ref: {name: manual-run}
next: [jira-create-issue]
nodes:
- id: jira-create-issue
stepRef: {name: jira-create-issue}
config:
description: |-
**Invoice:** {invoiceNumber}

Please check the amount.
issueType: Task
labels:
- supplier
project: OPS
summary: Complaint from {supplier}