We receive alerts via email integration and each time a comment is made on the ticket a new alert is created and initiates a new call. I would like to suppress the alerts when comments are made on the same ticket but I am unsure how to properly code the Alias to pull the Incident number ensure this happens. Can someone help?
Example:
1. Incident created and OpsGenie receives an email that has a subject that starts like this..... Incident #82201 Can't Sign into my computer
2. When comments are made on the ticket then OpsGenie receives additional emails that look like this in the subject... RE: Incident #82201 Can't Sign into my computer
I need to create an alias that pulls the Incident number from the subject and suppresses the additional alerts when a comment is added to a ticket and when the ticket is closed.
Thank you!
Hey there Travis,
Thanks for writing into Community, I'm Talar from the Atlassian Opsgenie support team, happy to help!
If you're on Standard or Enterprise plans, you absolutely can - via some fancy String Processing / Regex. This also works for other fields + info - sometimes the Regex can take a little time to get right, so don't be afraid to test it out!
Since your email will sometimes start with "Incident..." and other times with "RE: Incident.." I'd recommend "hard-coding" the Incident part into the Alias, and pulling out the #<number> from the subject via regex.
Something along these lines should do the job for you (it may need some finessing based upon how your email is parsed once it comes through):
Basic steps:
Hope this helps!
- Talar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.