FlowmageDocs

Create issue

BetaChanges data

Creates a Jira issue in a project and issue type you choose.

Settings

SettingWhat it is
ConnectionRequiredThe Jira connection the step signs in with.
Project keyRequiredThe key in front of every issue number, for example ENG in ENG-142. The List projects node gives you the keys.
Issue typeRequiredThe name as Jira shows it — Task, Bug, Story, Sub-task. The List issue types node gives you the names this project allows.
SummaryRequiredtext
Description format"text" or "adf" or "none"
DescriptionJira stores rich text as a JSON document. A blank line starts a new paragraph and a single newline becomes a line break; nothing else is interpreted.
Description (ADF)A full Atlassian Document Format document: { "type": "doc", "version": 1, "content": [ … ] }.
Assignee account idJira Cloud identifies people by account id, never by username or e-mail. The Find users node gives you one.
Reporter account idtext
PriorityThe name as Jira shows it. Leave empty to use the project's default.
LabelsComma-separated. A Jira label may not contain a space.
Due datetext
Parent issue keyFor a sub-task, or for an issue under an epic on a team-managed project.
ComponentsComma-separated names.
Fix versionsComma-separated names.
Custom fieldsJira keys a custom field by its id — customfield_10034, never its title. The List fields node gives you the ids. Values are sent as written; a field that wants an object needs the escape below.
Extra fields (raw JSON)Merged into the fields object verbatim, for a field whose value is an object or an array — { "customfield_10050": { "value": "Red" } }. Anything here wins over the fields above.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `jira`)
projecttexta value from the vendor's own list
issueTypetexta value from the vendor's own list
summarytext
descriptionFormat"text" or "adf" or "none", by default "text"
descriptiontextused when `descriptionFormat` is "text"
descriptionAdfobject (any keys), by default {}used when `descriptionFormat` is "adf"
assigneeAccountIdtext
reporterAccountIdtext
prioritytext
labelstext
dueDatetext
parenttext
componentstext
fixVersionstext
customFieldsobject of text, by default {}
extraFieldsobject (any keys), by default {}

Output

FieldType
issueRefIssue keystring
issueIdstring
issueobject
issueUrlLink to the issuestring
Sample output, and the expression for each field
  • issue{}
  • issueId"10042"
  • issueRef"ENG-142"
  • issueUrl"https://acme.atlassian.net/browse/ENG-142"

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "assigneeAccountId": "",
    "components": "",
    "connection": "<connection id>",
    "customFields": {},
    "description": "",
    "descriptionAdf": {},
    "descriptionFormat": "text",
    "dueDate": "",
    "extraFields": {},
    "fixVersions": "",
    "issueType": "<issue type>",
    "labels": "",
    "parent": "",
    "priority": "",
    "project": "<project key>",
    "reporterAccountId": "",
    "summary": "<summary>"
  },
  "label": "Create issue",
  "type": "jira.createIssue",
  "version": 1
}