I have made multiple different attempts to search for $ in any text field and I can't get any of them to work. I want to find the symbol in the summary or a custom text field. I don't receive an error message but no results populate.
Pages I found with recommendations but none of them work for $ symbol that I have tried.
I also tired searching $ on Confluence and I couldn't populate any results.
Hi Erica,
Jira's JQL can't perform searches for just a single character, or for fragments of words. Instead Jira has to search for whole words. This is a known limitation explained in https://confluence.atlassian.com/jiracoreserver073/search-syntax-for-text-fields-861257223.html#Searchsyntaxfortextfields-Wholewordsonly
However I think there might be a way to get around this with the use of a plugin for Jira. For example, I believe that the Scriptrunner plugin will allow you to use regex searches of specific issue fields in Jira per https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html#_regular_expressions
If you had this plugin with Jira, I believe you could then do a search such as
issueFunction in issueFieldMatch("", "summary", "\$")
which I believe will then be able to help find issues that contain that specific character in their summary field.
Of course there might exist other plugins in Marketplace that could help here as well.
Thank you for your reply Andrew. We don't have Scriptrunner at this time but we are looking into purchasing it. I will have to give that a try when we install it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Tested the suggested JQL above using Scriptrunner. I was able to get it to work using the following:
issueFunction in issueFieldMatch("", summary, \\u0024)
Used "\$" still threw an error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, right that is a reserved JQL term too. Sorry about that. I see you found the \\u0024 method to find that character. Alternatively, you can also use an additional \ character to escape the other escaping character \
In which case you could use something like
issueFunction in issueFieldMatch("", "summary", "\\$")
Thanks for posting back with this detail.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for this! Was racking my brain trying to search for equals sign "=". Naturally it took me two hours to come across this post but I'm thankful I did.
One note, as the ScriptRunner documentation states, "Performance will be roughly proportional to the number of issues selected by the subquery, so use the query that selects the smallest set of issues you can, eg just your projects". The query is slow if not qualified with additional search terms, so be aware.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.