- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2020 09:59 AM
Hi,
I'm testing the Jira spoke and I'm missing a step and hoping that you will be able to help me.
I saw that when I upload a file to jira issue I'm able to see that in service now with the jira event "attachment_created" with all the payload.
My question is what step should I do in order to copy this attachment to a record inside service now?
Thanks,
Lior Grinberg
Solved! Go to Solution.
- Labels:
-
Integrations
-
Multiple Versions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-02-2020 09:54 PM
Hi All,
I was able to create the attachment with the step "rest api" in the flow designer.
Thanks all.
Lior grinberg

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2020 08:18 PM
Hello Lior,
Please check below link.
How do I send a Jira attachment using Webhook
Regards,
Harshal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2020 09:47 PM
Since you want attachment when added in JIRA to be brought into ServiceNow please check below points
As per docs JIRA spokes can be used when an event occurs in the Now Platform.
ServiceNow controls the trigger of integration, remote system (in this case Jira) is the receiver of the commands.
Such as incident created in ServiceNow you can use Create issue.
You can send attachments from ServiceNow to JIRA.
So I believe out of the box it won't handle the vice-versa i.e. spoke able to handle the incoming attachment and adding to specific record.
I think you need to handle this using custom API approach.
https://docs.servicenow.com/bundle/newyork-servicenow-platform/page/administer/integrationhub-store-...
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-28-2020 12:50 PM
Hi,
I tried to use the rest api step in the flow designer, it has the option to store the response has an attachment but it did not work for me.
Do you you know how to use this step for this purpose?
Best regrads,
Lior grinberg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-28-2020 09:56 PM
the rest api you might have used is for consuming the JIRA endpoint.
But as per your question you require attachment when added to JIRA should attach to the record in ServiceNow.
If the REST API you are consuming will give you the attachment content for the ServiceNow ticket then you can parse the API response and create attachment to record
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader