Hello,
When trying to upload Multiple files, only last appended file is uploaded.
const form = new FormData();
form.append('file', file1, 'File name First');
form.append('file', file2, 'File name Second');
requestJira(`/rest/api/3/issue/${issueId}/attachments`, {
method: 'POST',
body: form,
headers: {
Accept: 'application/json',
'X-Atlassian-Token': 'no-check'
}
});
So from this code, only Second file is uploaded.
Is API support uploading Multiple files in one request?
And if yes, what is the syntax?
And if not, is it will be supported?
Thanks