It is possible to convert string to a number using the string processing methods for OpsGenie?
Convert an alert fields to number and increase by 1?
(message.toNumber(alertfields.substring(3,4))+1)
Hi @Gabriel Veiga ,
We have the {{field.toReadableNumber}} method that can be used to convert a number to a "readable" number. This just inserts a space in-between each character.
https://support.atlassian.com/opsgenie/docs/string-processing-methods-in-opsgenie-integrations/
For example: 48397 -> 4 8 3 9 7
However there isn't a way to have a string processing method perform the math operation to increase the value by 1.
Does that answer the question? Please let me know if I misunderstood.
Thanks,
Samir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.