Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Action and Extra properties in Opsgenie Edited

Dear all,

I am actually evaluating opsgenie and I am facing to a really fuzzy field used when creating alert or incident.

Those fields are Action and Extra properties.

chrome_bJCLS1XHF1.png

Does anyone have any sample content of those field and how there are used to be used ?

Really unclear to me so fat

Thanks for clarification

regards

1 answer

0 votes
Samir Atlassian Team Apr 19, 2021

Hi @serge calderara ,

 

The "actions" field, is where you can add custom actions that will be added to the alerts, so that you can then execute those custom actions on the alert, to trigger an outbound integration, or an Opsgenie Actions Channel to do something.

This doc details custom actions, and an example of how you can trigger a custom action to send to OEC, to execute a custom script.

So for example, you can add the "ping" action to be added to alerts, so that the alert will then have the "ping" action available for execution...

2021-04-19_09-44-35.png

2021-04-19_09-44-57.png

 

You can then setup an outbound integration like an OEC integration, or a Webhook integration, or an "Opsgenie Action" Channel to trigger based off the execution of that custom action.

 

Extra properties are just additional key-value fields you can add to alerts. So it just provides additional fields you can add to alerts, besides the default message, description, alias, etc. that are used on Opsgenie alerts.

 

So you can really add anything to those extra properties, for example 

HostName: XXXX

to specify a specific host that the alert is related to.

 

Thanks,

Samir

hello @Samir thanks for your reply.

Just for clarification and to give it a try I have define an email integration where I can send email to create an alert. 
I have define a rule where only P3 severity are  consider as alert in opsgenie as defined below

X2FwtCdF8H.png

 

Then when user send email to the support address, how can I ask them to specify the Priority parameter as part of the email in order to filter proper rule?

Does it have to do with  Extra properties ?

how to configure that Priority in order it is bind to alert field from received email ?

regards

Samir Atlassian Team Apr 20, 2021

You would do the priority mapping within the integration, it wouldn't have anything to do with extra properties.

You would need to be on the Standard or Enterprise plans, in order to have access to the "advanced" view of integrations to do this.

If the user is sending the email with "priority: P2" in the body of the email for example, then you can setup multiple Create Alert actions that filters on the priority being sent in the "message" field of the email (i.e. the body of the email), and set the priority of the Opsgenie alert accordingly...

e.g.

1 Create Alert action filtering for if message contains "Priority: P1", and if so - creates alert with priority = P1...

2021-04-20_09-12-00.png

2nd Create Alert action filtering for if message contains "Priority: P2", and if so - creates alert with priority = P2...

2021-04-20_09-12-37.png

 

Alternatively you can use string processing or regex to parse out the value of priority being sent in the message, to set the priority.

e.g.

Instead of using filters, use regex to parse out the "2" from "priority: P2" being sent in the message of the email

2021-04-20_09-16-04.png

Hello @Samir thnaks for your reply.

Its wierd I am in Standard plan but could not find in email integration where is what you call Advance view. I can see only what is below :

chrome_HPJe7uibM2.png

I have use the string formatting as I could not find Advance view you mentioned.

regards

Samir Atlassian Team Apr 20, 2021

Hi @serge calderara You are on the "JSM Standard" plan. I was referring to the Standalone Opsgenie Standard and Enterprise plans.

 

If you're on a JSM plan, you will need to have the JSM premium plan for advanced integrations.

 

The JSM Standard plan has similar features as the standalone Opsgenie Essentials plan. These plans just provide the basic features of Opsgenie, and don't offer the more advanced features that allow more flexibility and customization within the platform.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Opsgenie

New GitLab integration in Incident Investigation view

We launched the first version of the Incident investigation view in April of 2020 for Bitbucket Pipelines. Shortly after that, we added the ability to investigate deployment-related incidents in Opsg...

343 views 0 4
Read article

Community Events

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

Events near you