Jira REST Integration - How to send attachment?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2014 08:40 AM
Again, many thanks to John James Andersen for his work on the Jira REST interface.
I have made a tremendous amount of progress on it, and have a heavily customized version of my own running for the Service Catalog. However, now the requirement has come up to send attachments from the catalog over to Jira.
John also had a nice write-up on how to get the attachments out of Service-Now here: http://www.john-james-andersen.com/blog/service-now/sending-out-servicenow-attachments-via-soap.html. I also found write-ups on how to insert attachments via REST to jira here: How do I upload attachment to JIRA Issue via REST API? - Atlassian Answers.
The problem that I'm seeing is that the first link, the data is returned in the raw format, whereas the Jira integration is expecting an actual file.
So, I was wondering if anyone had any suggestions on how to handle this?
My initial thought is to use Orchestration to kick off a perl script on my mid-server and pass it the sys_id of the RITM. Then the perl script would query the sys_attachment table and, for each attachment found, download the attachment and send it over to the Jira instance. This way Service-Now is the one who kicked off the whole thing, so it's not just sitting there running all the time.
Any suggestions are welcome
Thanks!
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2015 10:07 PM
Hi Gary,
Integration between ServiceNow and Jira is possible using Informatica Cloud. For more info on ServiceNow connector, please visit -http://www.servicenowconnector.com.
For any further query, please reach at info(at)mansasys(dot)com.
Thanks,
Ankit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2015 02:02 AM
Hi Gary,
I need to send the attachment from ServiceNow to Jira using REST.
Did u succeed in this scenario?
If so, Can u please help me in configuring the post message.
Thanks in advance
Sreeja Gattu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2016 05:11 AM
Hi Sreeja,
Have you got any solution for this ?
Actually , I have same requirement where ServiceNow needs to send attachment to JIRA over REST.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2016 03:33 PM
Hi Pardeep,
You can configure outbound rest message on ServiceNow. From Geneva onwards, Servicenow supports setting attachment as request body in outbound rest request. Here is a doc link: RESTMessageV2 - setRequestBodyFromAttachment(String attachmentSysId)
Regards,
Pankaj