Hi, i have an automation that searches for work items where the summary ~ "Tech process - ITM" but today, for some reason the " - " part stopped working, in automation and in my queues
Hi @Manuel Bernardino Marques da Silva Welcome to the Atlassian Community!
This might be related to how Jira indexes special characters. The hyphen (-) isn't always treated as part of the searchable text.
Could you try searching for the exact phrase without the hyphen?
summary ~ "\"Tech process ITM\""
If that doesn't work, try searching for the individual words to see if the results are still being indexed correctly.
Since it suddenly stopped working in both automation and queues, I'd also recommend raising a ticket with Atlassian Support if the behavior persists.
Hi Manuel, there’s an open bug that looks like this one: JRACLOUD-94370. Automation Lookup Issues returns nothing when the summary search contains a hyphen, even though the same JQL works in normal search.
The workaround Atlassian lists keeps the hyphen but wraps the phrase in escaped quotes:
summary ~ "\"Tech process - ITM\""
Try that in the automation and in the queue JQL. If the queue still doesn’t match, I’d raise it with Atlassian Support and mention that bug.
@Pavel Vasiliev & @Jovânio Junior Thanks to both of you, its weird that it only started happening today but the "\" workarround works
I think i found the culprit
Hi! @Manuel Bernardino Marques da Silva
This sounds like it could be related to how Jira handles text searches in JQL.
The ~ operator performs a text search rather than an exact string comparison. Special characters such as hyphens (-) may be treated as separators or search operators instead of being considered part of the actual text.
~
-
I would start by testing a few alternatives:
summary ~ "Tech process ITM"
summary ~ "Tech" AND summary ~ "ITM"
Since you mentioned that the issue also affects queues, I would also check whether there has been any change in Jira Cloud's text indexing or search behavior.
If this started happening today, it may also be worth checking the Atlassian Cloud Status for any ongoing incidents.
Hope this helps!
Hi, i think this is the reason
Adding "\" in the beginning and \"" in the end worked as a workarround
It looks like you're new here. Sign in or register to get started.