/
Issue Attachment
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"
}
]
}
, multiple selections available,
Related content
Attachment tab
Attachment tab
More like this
Upload Attachment to iHUB
Upload Attachment to iHUB
More like this
Attachments - Multipart data or Body
Attachments - Multipart data or Body
More like this
Send attachment to another Jira cloud
Send attachment to another Jira cloud
More like this
How to send an attachment
How to send an attachment
More like this
Jira Attachments
Jira Attachments
More like this