Hi, we are trying to send a ticket attachements to a third-party platform (Service Now) using Jira Automation.
This 3rd party application exposes an API that accepts any type of attachments In the body of the request it is expected that the content of the file must be sent (text, pdf, img, etc)
We noted that JSM when sending files, sends a different Content-Length and this causes, according to our analysis, an incorrect reception of the file by the third-party application
We have noticed that with a normal client, for example cURL, the Content-Length is correct and the file is received by the third-party application.
We also tried to overwrite the Content-Length header in the SendWebRequest Action, but the client does not make the request (generates a 500 error)
Could you help us , please ?
Greetings