Hi!
I would like to send attachments via REST API to a JIRA system.
The problem is, that it requires multipart/form-data. How can I create a JS script to create and send the call?
Thank you,
A.
Application Delivery Management
Application Modernization & Connectivity
CyberRes
IT Operations Management
Hi!
I would like to send attachments via REST API to a JIRA system.
The problem is, that it requires multipart/form-data. How can I create a JS script to create and send the call?
Thank you,
A.
Did you find the solution?
Dear, i have the same requirement where i want to send attachment from SM to an external system using rest, can you pls share the solution with me also.
Regards,
Sanjay Yadav
Also interested... Same business.
Hello everyone,
This documentation should have an alternative example
https://docs.microfocus.com/doc/Service_Manager/9.64/AttachmentOperationsUsingRESTAPI
Regards,
Juan Diego Jinesta
Anyone actually managed to do this yet - I haven't found anything in documentation that addresses the issue of adding a binary file to the multipart/form-data.
I get this error: u_strToUTF8() returned error code = 10 (U_INVALID_CHAR_FOUND)
My workaround is to trigger 'curl', but that isn't a good solution. Retrieving attachments from Jira is easy, but upload requires binary file upload since jira doesn't support base64Encoding OOB.