Send Attachment to JIRA ticket

Hi,

i am trying to upload file to JIRA (attachment).
The issue from n8n is “source.on is not a function”

I’ve tried a million things and nothing works.
I’m trying to take an image via webhook and save it to a JIRA ticket.

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Just to clear off the obvious, are you sure that WebHook is returning the contents in $binary.file and not $binary.data ?

Hi Jay,


Income is easy, form-data content with “file”.

Second step is resend this file to JIRA, but then I have that issue.


TypeError: source.on is not a function at Function.DelayedStream.create (/usr/local/lib/node_modules/n8n/node_modules/delayed-stream/lib/delayed_stream.js:33:10) at FormData.CombinedStream.append 

Well, i am little bit confused but if i used just text “file” its working. I thought there must be a key and a variable of type {{$binary.something}}

2 Likes

Yes you have to select n8n Binary File as parameter type :slight_smile:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.