Skip to content

Jira ​

Creates a Jira issue from an email with its attachments, comments on it, transitions, assigns or reads it.

The Jira node turns an email into an issue — plain-text description, labels, attachments — then keeps it moving: comment, transition by name, assignment.

It works with a Jira connection. See Jira.

At a glance ​

  • Type: jira.api · version 1
  • Category: Data
  • Kind: Step — one stage of a run
  • Effect: Writes outside (external_write) — writes outside Loop & Roll; described instead of performed during a test run
  • Needs a carrier email: No
  • Connection: Jira
  • Inputs: main
  • Outputs: main
The ports of “Jira”: what comes in on the left, what goes out on the rightInput: main. Outputs: main. An error output appears when its failure setting is “Follow the Error output”. It needs a Jira connection.Jirajira.apimainmainerror · only with “Follow the Error output”Connection: Jira
The ports of “Jira”: what comes in on the left, what goes out on the right

Connection ​

This node needs a Jira connection.

Parameters ​

connection ​

Jira connection — The Jira connection to use. Create it once in Connections; its key never appears in the workflow.

  • Type: Connection (credential)
  • Required: Yes
  • Default: "" (empty)

action ​

Action

  • Type: One choice (options)
  • Required: Yes
  • Default: createIssue
  • Options:
    • createIssue — Create an issue from an email
    • addComment — Add a comment
    • transition — Change status (transition)
    • assign — Assign
    • getIssue — Get an issue
    • attachFiles — Attach the attachments

project ​

Project

  • Type: Remote resource (resourceLocator)
  • Required: Yes
  • Ways to choose: pick from a list, type an ID (jira.project)
  • Listed with the connection in: connection
  • Shown when: action is createIssue

issueType ​

Issue type

  • Type: Remote resource (resourceLocator)
  • Required: Yes
  • Ways to choose: pick from a list, type an ID (jira.issueType)
  • Listed inside: project
  • Listed with the connection in: connection
  • Shown when: action is createIssue

summary ​

Summary

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 255 characters at most
  • Example: {{ email.subject }}
  • Shown when: action is createIssue
  • Expressions: {{ }} accepted

issueKey ​

Issue — The issue key (SUP-42).

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 60 characters at most
  • Example: {{ data.jira.key }}
  • Shown when: action is one of addComment, transition, assign, getIssue, attachFiles
  • Expressions: {{ }} accepted

text ​

Text — The issue description or the comment, as plain text (blank lines make paragraphs).

  • Type: Long text (text)
  • Required: No
  • Default: "" (empty)
  • 32000 characters at most
  • Example: {{ email.bodyText }}
  • Shown when: action is one of createIssue, addComment
  • Expressions: {{ }} accepted

labels ​

Labels — Comma-separated, no space inside a label.

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 1000 characters at most
  • Shown when: action is createIssue
  • Expressions: {{ }} accepted

transitionName ​

Transition — The transition name as shown in Jira (“Done”), or its identifier.

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 120 characters at most
  • Shown when: action is transition
  • Expressions: {{ }} accepted

accountId ​

Assigned Atlassian account — The account identifier (accountId). Empty: unassign.

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 128 characters at most
  • Shown when: action is assign
  • Expressions: {{ }} accepted

withAttachments ​

Include attachments — The email’s attachments and those added by an earlier step (ten at most).

  • Type: Yes / no (boolean)
  • Required: No
  • Default: true
  • Shown when: action is createIssue

Outputs ​

  • main — Taken once the call to Jira succeeds. An error response from Jira fails the step instead.

Data produced ​

What this node adds to the run data, and how to read it in an expression. <step> stands for the step key: the node name turned into an identifier (see Data and expressions).

  • {{ data.<step>.key }} — string. The issue key (SUP-42).
  • {{ data.<step>.issue }} — { key, summary, status, issueType, assignee, labels, createdAt, updatedAt }. Get: the issue.
  • {{ data.<step>.status }} — string. Transition: the new status.
  • {{ data.<step>.simulated }} — boolean. true when the write was described instead of performed (test run).
  • {{ data.<step>.summary }} — string. The one-line summary in the member’s language.

Loop & Roll — the workflow builder for email.