Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Jira connection the step signs in with. |
| Issue keyRequired | text |
| File nameRequired | The file's name, extension included. Pick the file, then paste its base64 below. |
| File contentsRequired | Base64 of the file — {{ file("report.pdf").base64 }}. The largest file Jira accepts is a setting of your Jira site, which a Jira admin changes. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `jira`) |
issue | text |
name | texta file name, listed in `requires.files` |
contentBase64 | textits `{{ }}` must give a string |
Output
| Field | Type |
|---|---|
attachmentsAttachments Jira stored | array |
attachmentId | string |
attachmentUrlLink to the attachment | string |
Sample output, and the expression for each field
- attachmentId"20001"
- attachmentUrl"https://acme.atlassian.net/secure/attachment/20001/report.pdf"
- attachments[]
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": {
"connection": "<connection id>",
"contentBase64": "<file contents>",
"issue": "<issue key>",
"name": "<file name>"
},
"label": "Upload attachment",
"type": "jira.uploadAttachment",
"version": 1
}