Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

OpsGenie Email Integration Alert add attachment to Service NOW Incident

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?

1 answer

0 votes
Allen Barnard
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 03, 2020 • edited

Hi Scott,

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.

 

Allen. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events