Hi there, I am hoping to do something like this:
{{ from_address.substringBetween(".","@") }}
But then take that output and capitalize it using toUpperCase().
I tried a few different ways but it doesn't appear to be possible. Looks like you can only do one operation on an "Alert Field".
Does anyone have any suggestions, other than capitalizing the text before it reaches OpsGenie?
I just tested the following and it worked
{{from_address.toUpperCase().substringBetween("@",".")}}
You should be able to combine the toUpperCase() method, with the substringBetween method.
If you're having issues with this, please reach out to support and we can assist you!
Thanks,
Samir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.