Create a Jira issue
Step
jira-create-issuesaveside effectsCreates an issue in a Jira project, with its summary, description, labels, assignee and parent.
At a glance
| Property | Value |
|---|---|
| Step name | jira-create-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 |
issueId | string |
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 |
projectrequired | string | - | Such as PROJ, as it starts the project's issue keys.minLength 1; maxLength 200 |
issueType | string | "Task" | Issue typemaxLength 100 |
summaryrequired | string | - | SummaryminLength 1; maxLength 1000 |
description | string | - | Plain text; **bold**, lists, headings and links work.maxLength 32000 |
labels | list of string | - | LabelsmaxItems 20 |
assignee | string | - | An email or a Jira account id; empty leaves it unassigned.maxLength 200 |
priority | string | - | PrioritymaxLength 100 |
parent | string | - | 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 |
The full JSON Schema of these settings: jira-create-issue.schema.json.
Example
Open a ticket for a supplier complaint
config
description: |-
**Invoice:** {invoiceNumber}
Please check the amount.
issueType: Task
labels:
- supplier
project: OPS
summary: Complaint from {supplier}
Use it in a flow
A node that runs jira-create-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-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}
Was this page helpful?