Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Cloud → ServiceNow Integration | Attachments not syncing via REST API (Demo Instances)

Hari Krishna
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
October 10, 2025

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

3 answers

0 votes
VX
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 17, 2025

@Hari Krishna  @Saad Uz Zaman Gohar @Liam Novak

Hello, Did anyone found any solution for this issue. I am able to create JIRA task from ServiceNow Flow, and also can able to sync comments bidirectional, send Attachments—>JIRA but couldn’t get valid attachment from JIRA to Servicenow.

Jira clearly returns valid binary data (200 OK, correct content type, correct length), but saveResponseBodyAsAttachment) never writes the file, and resp-getStream() is null.

It looks like the Scripted REST runtime is consuming or blocking the response stream, so ServiceNow refuses to save the attachment.

I even tried executeRequest) and raw Java HTTP, but those are blocked by instance security ( Illegal access to method openconnection() ).

Has anyone run into this before?

Is there a supported way to pull binary attachments from external systems (like Jira) into RITMs when saveResponseBodyAsAttachment fails inside Scripted REST?

Should this be done instead through IntegrationHub / Flow Designer ("Save response body as attachment") ? Any thoughts how to achieve this without getting IntegrationHub Enterprise subscription? 

Saad Uz Zaman Gohar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 17, 2025

I found 2 ways for this one is you use the 
Jira provides build in plugin free for 10 users 
Base64 Attachment REST API Plugin 

and other is i am providing you the link you can see it from there
https://blog.tgxn.net/multipart-upload-from-servicenow/
https://developer.servicenow.com/connect.do#!/share/contents/8774514_multipart_upload_helper?v=1.0&t=DISCUSSIONS

0 votes
Saad Uz Zaman Gohar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 24, 2025

Hi Hari , 
I am also working Servicenow to Jira integration using REST api , all of the things are working fine when i create an incident issue is created on JIRA , but when creating incident i attach attachment to it , the attachment goes to JIRA , but jira shows Empty or undefined , i have tried the plugin BASE64 JIRA decoder , but thats paid , free for 10 users we have more than that obv, so if u came across any solution , Do let me know! 
Thanks 

0 votes
Liam Novak
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 12, 2025

I came across a post on Inat Bix indir that mentioned how API calls can fail due to permission sync — maybe that’s what’s happening here too.

Hari Krishna
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 12, 2025

 

Hi @Liam Novak , 

Can you please give me detailed, I didn't get what you are referring.

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events