ServiceNow Jira Integration: Getting Attachments from SN to Jira tickets!

Hussain Marakar
Tera Contributor

Hello,

I have successfully configured the integration and can now generate a ticket/issue in Jira from ServiceNow (SN) using a predefined flow and the Jira Service Management (Jira SM) plugin spoke.

 

Here's some additional context:

When generating a ticket/issue in Jira from a change task, specific information from both the change task and its parent change is utilized for the issue creation. I achieved this successfully by utilizing the Jira SM plugin, which offers a "create an issue" spoke action. Additionally, I was able to include custom fields as required. The ticket is created successfully, and I've attached a screenshot of the flow for reference.

 

Now, my objective is to transfer the documents/attachments associated with the change task and attach them to the corresponding Jira issue ticket. Unfortunately, directly attaching the attachment when creating a new issue in Jira through an integration is not feasible, as confirmed by Atlassian support.

I've explored various methods to achieve this, including one involving two different REST requests, but I've been unable to configure them successfully.

I would greatly appreciate it if there is any solution available to seamlessly attach these attachments from ServiceNow to Jira after the issue is created.

Also, some link which I found for attaching using 2 REST messages.
There is a feature suggesting for this option:

The below KB article that shows how you can create requests with attachments in two separate API calls.

 

 

Thank you.

 

HussainMarakar_0-1711192976597.png

 

2 REPLIES 2

Sujatha V M
Kilo Patron
Kilo Patron

@Hussain Marakar Below is another way where trying to pass the attachments from task to JIRA. 

 

SujathaVM_0-1711358318860.png

 

Please mark this as helpful and accept it as a solution if this resolves your query.

 

Thanks, 

Sujatha V.M.

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.

Mathieu Lepoutr
Mega Guru

Hi @Hussain Marakar 

 

You should use Exalate for this, which is a decentralized integration solution, where you can granuarly decide which data will be send over and how it will be applied. Since it is decentalized, it brings in a lot of security advantages, both sides have full control. Any use-case becomes possible.