Link Jira issues
Step
jira-link-issuessaveside effectsLinks two issues, such as one duplicating or blocking another. A link already there is left as it is.
At a glance
| Property | Value |
|---|---|
| Step name | jira-link-issues |
| 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 |
|---|---|
inward | string |
outward | string |
linkType | string |
linked | 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 |
inwardrequired | string | - | An issue key such as PROJ-123, or a value from earlier in the flow. Jira's inward issue of the link.minLength 1; maxLength 200 |
outwardrequired | string | - | An issue key such as PROJ-124, or a value from earlier in the flow. Jira's outward issue of the link.minLength 1; maxLength 200 |
linkTyperequired | string | - | Such as Relates, Duplicate, Blocks or Clones: one of the allowed link types.minLength 1; maxLength 100 |
allowedTypes | list of string | - | The link types this step may make. Empty allows Relates, Duplicate, Blocks and Clones.maxItems 20 |
The full JSON Schema of these settings: jira-link-issues.schema.json.
Example
Mark a duplicate ticket
config
inward: '{key}'
linkType: Duplicate
outward: OPS-12
Use it in a flow
A node that runs jira-link-issues 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-link-issues-example
namespace: tenant-acme
spec:
displayName: "Link Jira issues"
triggers:
- id: start
ref: {name: manual-run}
next: [jira-link-issues]
nodes:
- id: jira-link-issues
stepRef: {name: jira-link-issues}
config:
inward: '{key}'
linkType: Duplicate
outward: OPS-12
Was this page helpful?