Hi everyone,
I’m currently working on a Jira Cloud to ServiceNow integration where issues, comments, and updates sync both ways.
So far, I have successfully configured:
Issue creation from Jira → ServiceNow
Comment sync
Field updates
All of these are working fine using Jira Automation + ServiceNow REST APIs.
However, the only part that’s not working is attachments.
I’ve tried multiple approaches, including:
Sending attachments through Jira Automation with {{attachment.content}}
Receiving them on ServiceNow via Scripted REST API
Writing a custom script to decode and attach the files
The automation runs fine, and logs in ServiceNow confirm the API is triggered, but:
The attachments are not actually getting downloaded or saved on the ServiceNow side
The file body sometimes appears as empty (⚠ Empty file body)
Both Jira and ServiceNow are demo/developer instances
What I’m looking for:
A confirmed working approach (or example script) to transfer attachments from Jira Cloud to ServiceNow using automation and REST APIs (no IntegrationHub).
If anyone has configured this successfully in a demo/dev setup, I’d really appreciate your guidance or a sample payload or script snippet.
Environment Details:
Jira Cloud (Automation rules + Webhooks)
ServiceNow Developer Instance
Using Scripted REST API in ServiceNow (no IntegrationHub or MID Server)
Thanks in advance for any help.
— Hari