Move a Jira issue
jira-transition-issuesaveexterne WirkungMoves an issue to a status by its name, such as Done. An issue already there is left as it is.
Auf einen Blick
| Eigenschaft | Wert |
|---|---|
| Schrittname | jira-transition-issue |
| Ressource | ClusterStep (lumen.ai/v1alpha1) |
| Palettengruppe, Kategorie | save, jira |
| Credits | 0.5 Credits bei jedem Erfolg |
| Externe Wirkung | ja Er ändert etwas außerhalb von Lumen, deshalb fragt ein Wiederholungsversuch vorher nach, und ein Test zeigt, was er tun würde, statt es zu tun. |
| Die Installation muss bereitstellen | nichts |
Eingaben
| Eigenschaft | Wert |
|---|---|
| Braucht | nichts |
| Liefert | fields |
| Arbeitet auf | item einem Dokument nach dem anderen |
Braucht und Liefert sind Datentypen (file, text, fields, email). Der Editor bietet einen Schritt nur dort an, wo das, was er braucht, schon auf dem Pfad liegt. Siehe Dokumente und Daten.
Ausgaben
Ein späterer Knoten verweist auf eine Ausgabe als {nodeId.field} in einem Text oder als nodeId.field in einer Bedingung.
| Ausgabe | Typ |
|---|---|
key | string |
status | string |
previousStatus | string |
transitioned | boolean |
url | string |
Einstellungen
Wird unter config: im Knoten des Flows gesetzt. Texteinstellungen dürfen Platzhalter wie {nodeId.field} enthalten.
| Einstellung | Typ | Standardwert | Beschreibung |
|---|---|---|---|
connectorRef | string | - | Jira connectionminLength 1 |
issue | string | - | An issue key such as PROJ-123, or a value from earlier in the flow. Empty is the issue the flow started from.maxLength 200 |
statuserforderlich | string | - | The status name as it shows in Jira, such as Done. An issue already there is left as it is.minLength 1; maxLength 100 |
Das vollständige JSON Schema dieser Einstellungen: jira-transition-issue.schema.json.
Beispiel
status: Done
Im Flow verwenden
Ein Knoten, der jira-transition-issue ausführt, steht unter spec.nodes eines Flow. Geben Sie ihm eine beliebige id und nennen Sie in next die ids der nächsten Knoten.
apiVersion: lumen.ai/v1alpha1
kind: Flow
metadata:
name: jira-transition-issue-example
namespace: tenant-acme
spec:
displayName: "Move a Jira issue"
triggers:
- id: start
ref: {name: manual-run}
next: [jira-transition-issue]
nodes:
- id: jira-transition-issue
stepRef: {name: jira-transition-issue}
config:
status: Done