Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,316
Community Members
 
Community Events
165
Community Groups

Adding tag to alert through action

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

1 answer

1 vote

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 Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

175 views 1 3
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