I am trying to send the attachment to the Jira iss...
# suitescript
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: <http://https.Method.POST|https.Method.POST>,
url: "<https://example.atlassian.net/rest/api/3/issue/>" + jiraIssueID + "/attachments",
body: myFile,
headers: Jira_GetcaseHeader
});
Slack Conversation