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

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

Adding tag to alert through action

Is there a way to add a predefined tag to arbitrary alert with an action ?

1 answer

0 votes

Hi @Robin Sundström ,

You should be able to do this with an Alert Policy: https://docs.opsgenie.com/docs/global-policies#alert-policy

Alert Policies apply to alerts at creation and modify properties like the message, priority, or in your use case - add a tag. These can be configured globally and apply to all alerts, or under a team and apply to alerts only sent to that team. 

Regardless - Alert Policies follow a simple IF / THEN conditional statement. "IF the alert has XYZ action, THEN add XYZ tag." Here's an example of what that might look like:

action comm 1.jpg

 

And here's a test of the policy applying to an alert at creation:

action comm 2.jpg

 

Hope this helps with your use-case. Let us know if you have additional questions, issues, concerns, etc.

Thanks for the answer! I thought of that way too but wouldn´t it change the tag as the alert comes in if the action is added ? What I mean is then the execution of the action won´t add the tag. The thing is that the users should be able to add the tag by pressing the action. Cause when the tag is added a jira issue is created and the alert is closed.

 

Best regards

Suggest an answer

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

Leveraging Atlassian’s Opsgenie and AWS Cloudformation Registry to stay ahead of incidents

In the past, managing IT infrastructure was a hard job. It required a lot of manual effort and it was hard to keep track of all the necessary information (monitoring, scalability etc). Thankfully, as...

1,771 views 0 10
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