We need to create a process to take the email attachment from an Email Integration Alert and add it to the Incident ticket that was created for the alert. We have the API calls to add it via Service NOW and we were thinking about doing this via an OEC connector.
Has anyone done this? Does anyone have an OEC action script that could do this?
A script for that specific use case does not exist however I have good news, our API supports a call that generates a download URL link so that you can download the attachment.
Use this documentation to make the API call that returns a JSON that contains the download URL. From there the next steps depends on the scripting language you choose to write your OEC script in, the basic logic will be to parse the JSON response and extract the URL as a variable then download it to the server running OEC, once it has completed downloading store the local file path in a variable so that you can pass it to your Service NOW API call.
I hope this helps.
We’re excited to announce the latest enhancement to Opsgenie’s Incident Investigation view. Now when an incident occurs users can select the previous stable deployment, and begin the redeployment pro...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events