Attachment tab

This tab is where you can configure to send attachments to Jira issues or to external systems.

 

 

Save response as file

Use this option when you fetch the file content from an URL and the content is returned in the response of the call. To utilize saved file you must select Incoming Files on the child action that post the file.

This will save the response to a file on the server.

You can view the file in the Incoming Webhooks → Files view.

File name - this will determine what name the file will have when storing the file.

You can use mustache to access any scope variable to set the filename dynamically. Example first you make a call to get a list of files and their names then you wan to fetch each file and store it. On the fetch call you can select the “Save response as file” then enter a mustache syntax to get the name like {{filename}}

image-20241113-134951.png

Sketch for fetching files and adding them to the ticket.

Issue Attachment(s)

This controls if iHub will send attachments or not.

Do not include attachments: This will not send any attachment

Latest: Latest Issue Attachment. Used with Issue Events, when there is a event triggering the action it can send the latest attachment on the ticket

All: All Issue Attachments. Used with Issue Events, when there is a event triggering the action it can send all attachment on the ticket

Incoming files: Select this to send files which is coming from an Incoming Webhook or a parent action which has “Save response file” selected.