Issue Attachment

Attachments are available in the scope if the body of the action contains {{attachments.unsent}} or {{attachments.all}}.

Using form-data

{ "file":"{{attachments.unsent}}" }

Using form-data to send the attachment, ihub will do..

 

The structure will look like this;

attachments: { unsent:[ { "filename": "log4j.xml", "size": 596, "author": { "accountId": "5ee9eea44784510aca6df3d0", "avatarUrls": { "48x48": "https://secure.gravatar.com/avatar/f40ffde01bd9f29b801f1b93b087c712?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FPA-0.png", "24x24": "https://secure.gravatar.com/avatar/f40ffde01bd9f29b801f1b93b087c712?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FPA-0.png", "16x16": "https://secure.gravatar.com/avatar/f40ffde01bd9f29b801f1b93b087c712?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FPA-0.png", "32x32": "https://secure.gravatar.com/avatar/f40ffde01bd9f29b801f1b93b087c712?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FPA-0.png" }, "displayName": "Peter Atthem", "accountType": "atlassian", "self": "https://rixterdev.atlassian.net/rest/api/2/user?accountId=5ee9eea44784510aca6df3d0", "active": true, "timeZone": "Europe/Berlin" }, "created": "2024-02-16T14:11:14.197+0100", "self": "https://rixterdev.atlassian.net/rest/api/2/attachment/10000", "id": "10000", "mimeType": "text/xml", "content": "https://rixterdev.atlassian.net/rest/api/2/attachment/content/10000" "data":"BYTE ARRAY DATA" } ] }