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.

Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


How to attach alert action output to Opsgenie

Hello, I am working on creating custom actions and wondering:

A. Is it possible to attach the output from a triggered custom action to the alert once the action runs.  It seems like this is possible in the documentation as I see referenced in the docs, but I can't find an example.  I think that I will need to pass the alertId to the action so the output can be attached to the proper alert, not sure how to pass that and hoping to shortcut the research.

B. If A above is possible, does anyone have an example they are willing to share.


Thanks in advance.


1 answer

0 votes
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 17, 2020

Hi @Richard Bocchinfuso !


The alertId will be sent in the payload for whatever custom action you are performing. If you capture the output of whatever command you are looking to execute (ping or traceroute for example) you can use the addNote endpoint on the Alert API to attach the text to the alert that triggered it.


That's just an example of when you'd want the output attached to the alert, but you could also use it to take some other action on the alert that's supported through the API (snooze, acknowledge, close, create an incident, etc.). 


Hope this helps!

Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events