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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


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
Community Members
Community Events
Community Groups

How can i do string processing in alert field in opsgenie with some If condition?

I have a use case where i am using email integration for multiple type of alerts.. for one type subject contains "<" and hence opsgenie truncates the subject and just show before "<". in order to fix this i used {{ subject.substringBefore("<")}} {{ subject.substringAfter("<") }} in Alert field.. but this will break other alerts which doesnt have "<".. i want to use some if condition.. is it possible?

1 answer

0 votes
Nick H
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 12, 2021

Hi @D G ,

You should be able to configure "if conditions" within the Advanced tab of the Email integration. Note - the Advanced tab is only available on the Standard and Enterprise plans.

Each Create Alert action acts as an if condition - so IF the filter of the Create Alert action matches the defined conditions, THEN continue with that Create Alert action.

IF the filter of the Create Alert action does not match - Opsgenie will look at the following action(s) to try and find a match.

That configuration might look something like below with a few different actions / filters:



Hope this helps! Let us know if you have any other questions, issues, etc. - especially if you are seeking something else.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events