Skip to main content

Update a Jira issue

Stepjira-update-issuesaveside effects

Changes an issue's summary, description, labels, assignee or priority. Only what you set changes.

At a glance​

PropertyValue
Step namejira-update-issue
ResourceClusterStep (lumen.ai/v1alpha1)
Palette group, categorysave, jira
Credits0.5 credits each time it succeeds
Side effectsyes It changes something outside Lumen, so a retry asks first and a test shows what it would do instead of doing it.
Installation must providenothing

Inputs​

PropertyValue
Needsnothing
Producesfields
Works onitem 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.

OutputType
keystring
urlstring

Settings​

Set under config: on the flow node. Text settings may contain {nodeId.field} placeholders.

SettingTypeDefaultDescription
connectorRefstring-Jira connectionminLength 1
issuestring-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
summarystring-New summarymaxLength 1000
descriptionstring-New descriptionmaxLength 32000
labelsAddlist of string-Add labelsmaxItems 20
labelsRemovelist of string-Remove labelsmaxItems 20
assigneestring-An email or a Jira account id.maxLength 200
unassignboolean-Remove the assignee
prioritystring-PrioritymaxLength 100

The full JSON Schema of these settings: jira-update-issue.schema.json.

Example​

Tag an issue as paid

config
labelsAdd:
- paid
labelsRemove:
- awaiting-payment

Use it in a flow​

A node that runs jira-update-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-update-issue-example
namespace: tenant-acme
spec:
displayName: "Update a Jira issue"
triggers:
- id: start
ref: {name: manual-run}
next: [jira-update-issue]
nodes:
- id: jira-update-issue
stepRef: {name: jira-update-issue}
config:
labelsAdd:
- paid
labelsRemove:
- awaiting-payment