I added a string processing method to create a tag but as soon as I click off of it, I can't tell what the expression is anymore. This is especially annoying when revisiting existing policies. Example:
Is that substringBefore or substringBetween? Before or between what? Did I use removeAllWhitespace() after that? Who knows‽
I tried double-clicking into it, thinking it might expand the expression, but it just highlights a word ("description" or "substringB").
This appears to be unique to tags, because other fields that have a simple text value will continue to show it:
Is there any way to recover the tag expression?
Hi Emma!
Thank you for reaching out to the Atlassian Community.
I completely understand how frustrating it can be to work with complex string processing expressions in Opsgenie tags, especially when the UI collapses as soon as you click away.
Double-clicking or trying to expand the field doesn’t help, and it’s easy to lose track of the exact logic you’ve implemented.
Here's a quick workaround using browser dev tools to identify the hidden expression.
I know this isn't the exact solution you were looking for, but I hope the workaround helps.
Regards,
Aditya
That does work for tags added from the integration, but the alert policy tag section seems to have more complex logic that doesn't directly reveal the value:
If I remove the disabled="disabled" part then I can at least drag my mouse over to highlight it and this finally reveals the full expression. It still doesn't show it all at once, and I'm still not sure if I can edit it from here, but it does work for retrieving the original.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.