Right now, we are using the ScriptRunner Enhanced Search Jira add-on app to achieve wildcard search, but we would love to be able to do this with the default search so we don't need the add-on.
Example JQL code from the Scriptrunner app returns Release - 1.1.1, 1.1.2, etc.:
fixVersion in versionMatch("^Release - 1.1.")
Hi @Moutsias, Peter -- Welcome to the Atlassian Community!
Have you tried the CONTAINS ~ operator with wildcards: https://support.atlassian.com/jira-software-cloud/docs/jql-operators/#CONTAINS----
Perhaps like this:
fixVersion ~ "Release - 1.1.*"
Kind regards,
Bill
Hi Bill! This worked for me. Thank you so much for your help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Bill Sheboy . I use this extensively. However today I'm wondering if I can filter out issues from multiple versions in one go using wildcards. So I want to exclude issues having 9.34*, 9.35* and 9.36* in the Fix Versions field. Today I do this:
fixversion !~ "9.34*" AND fixversion !~ "9.35*" AND fixversion !~ "9.36*"
Then to combine them I tried many things which didn't work:
fixversion !~ ("9.34*", "9.35*", "9.36*")
fixversion !~ "(9.34*, 9.35*, 9.36*)"
Is there a way/syntax to do this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First thing, as this is a very old thread I recommend creating a new question, perhaps including a link back to this one.
For your question: with the built-in features, you would need the separate checks to use the wildcards as I do not believe those work with the NOT IN operator: https://support.atlassian.com/jira-software-cloud/docs/jql-operators/#NOT-IN
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.