I am trying to send the attachment to the Jira iss...
# integrations
s
I am trying to send the attachment to the Jira issue, any idea how to send a file object
var myFile = file.load({
id: fileId
});
var jiraAttachments = https.request({
method: https.Method.POST,
url: "https://example.atlassian.net/rest/api/3/issue/" + jiraIssueID + "/attachments",
body: myFile,
headers: Jira_GetcaseHeader
});
d
you can send the base64 content myfile.getContents()
netsuite do not support send the binary