I'm encountering an issue with Jira's JQL (Jira Query Language) when using the contains (~) operator to search for an issue property that contains a colon (:) surrounded by characters on both sides. Strangely, this error does not occur when using the equals (=) operator.
To provide more context:
"Component Versions" = "Version:1" OR issue.property[property].content ~ "Version:1"
The above JQL query results in an error due to the presence of the colon surrounded by characters on both sides in the property value.
Could someone help me understand why this error occurs specifically with the contains (~) operator and provide guidance on how to resolve it? Is there a workaround or alternative approach to achieve the desired search functionality without encountering this error?
Any insights or assistance would be greatly appreciated.
Thank you!
Based upon this defect (and its comments), this problem started happening after some update in 2023. The specific scenario the bug notes is searching for account id values, which often contain colon characters.
https://jira.atlassian.com/browse/JRACLOUD-82997
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.