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

Adding tag to alert through action

Robin Sundström December 2, 2020

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

1 answer

1 vote
Nick Haller
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 2, 2020

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.

Robin Sundström December 2, 2020

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

David Bell
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 5, 2023

@Robin Sundström where you able to achieve this?

Like nicolasfortier75 likes this
nicolasfortier75
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 5, 2024

any update on this? not working!

Suggest an answer

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

Atlassian Community Events