I did. Although the REST API only returns the url of the attachment you can still “pull” that attachment into ServiceNow. You need to make a REST GET call from ServiceNow using the url and basic authentication. If you have to use a mid server on the ServiceNow side it gets a little tricky. But that can also be done.
saveJiraAttachmentInSN: function(targetInstanceURL, sTable, sSysID, sFile) {
var targetUserID = this.jira.user;
var targetUserPassword = this.jira.pwd;
try {
var attachmentMessage = new sn_ws.RESTMessageV2();
attachmentMessage.setHttpMethod("get");
attachmentMessage.setBasicAuth(targetUserID, targetUserPassword);
attachmentMessage.setEndpoint(targetInstanceURL);
attachmentMessage.saveResponseBodyAsAttachment(sTable, sSysID, sFile);
var response = attachmentMessage.execute();
var sStatus = response.getStatusCode();
if (sStatus != '200')
this.jira.debug(response.getErrorMessage());
else
this.jira.debug('attachment saved: ' + sFile);
} catch(ex) {
this.jira.debug('ERROR in saveJiraAttachmentInSN ' + ex, true);
} finally {
this.jira.sendToLog();
}
},