Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

View/edit full string expression used for tag

Emma Rector July 2, 2025

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:

image.png

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:

image.png

Is there any way to recover the tag expression?

1 answer

0 votes
Aditya Bodke
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 3, 2025

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.

  • Right-click on the screen and select "Inspect"

    2025-07-04_11-55-42.png

  • Using the Inspect Element tool, select the tag, and you'll see the entire expression.

    2025-07-04_11-48-42.png



I know this isn't the exact solution you were looking for, but I hope the workaround helps.


Regards,
Aditya

Emma Rector July 8, 2025

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:

image.png

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
TAGS
AUG Leaders

Atlassian Community Events