Move a Jira issue
Step
jira-transition-issuesaveside effectsMoves an issue to a status by its name, such as Done. An issue already there is left as it is.
At a glance
| Property | Value |
|---|---|
| Step name | jira-transition-issue |
| Resource | ClusterStep (lumen.ai/v1alpha1) |
| Palette group, category | save, jira |
| Credits | 0.5 credits each time it succeeds |
| Side effects | yes It changes something outside Lumen, so a retry asks first and a test shows what it would do instead of doing it. |
| Installation must provide | nothing |
Inputs
| Property | Value |
|---|---|
| Needs | nothing |
| Produces | fields |
| Works on | item one document at a time |
Needs and Produces are data types (file, text, fields, email). The editor offers a step only where what it needs is already on the path. See Documents and data.
Outputs
A later node references an output as {nodeId.field} in text, or nodeId.field in a condition.
| Output | Type |
|---|---|
key | string |
status | string |
previousStatus | string |
transitioned | boolean |
url | string |
Settings
Set under config: on the flow node. Text settings may contain {nodeId.field} placeholders.
| Setting | Type | Default | Description |
|---|---|---|---|
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 |
statusrequired | 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 |
The full JSON Schema of these settings: jira-transition-issue.schema.json.
Example
Close the ticket once the invoice is paid
config
status: Done
Use it in a flow
A node that runs jira-transition-issue goes under spec.nodes of a Flow. Give it any id, and list the next node ids in next.
flow.yaml
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
Was this page helpful?