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.
Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...
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