Forums

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

Why when I try to find an issue by suffix (using wildcard *abs) - it does not work and brings me an

Andrey Ponomarenko November 24, 2021

I am trying to find issues by suffix (substring at the end of the string)

For example there are 5 issues with following data:

  1. "1.3.0-rc.4"
  2. "1.3.0-rc.4"
  3. "1.3.0-rc.4"
  4. "1.3.0-rc.5" - wanna get this one
  5. "1.3.0-rc.5" - and this one

To do this I was trying to use the following JQL: 
project = DXDEV and "Component Version[Short text]" ~ "*rc.5"

Due to this JIRA guide on how research works, I expected to get issues n4 and n5 as a result.

However I got an error: 
The text query '*rc5' for field 'Component Version[Short text]' is not valid: the '*' and '?' are not allowed as first character in wildcard query.

My questions:

  1. Why I get an error?
  2. What query can I use to get issues n4 and n5?

Thanks in advance

1 answer

0 votes
Daniel Turczanski - JQL Search Extensions
Atlassian Partner
November 26, 2021

Hi @Andrey Ponomarenko

Standard JQL doesn't easily allow searching for exact words, special phrases and patterns. The error you see explains the limitations of native wildcard search.

To get the wildcard support, use our professional indexing service JQL Search Extensions

After you install the app, you can simply search:

project = DXDEV and issue in wildcardMatch("Component Version[Short text]", "*rc.5")

Check out the documentation for more examples.

I hope this helps!

Daniel

Andrey Ponomarenko November 30, 2021

Thank you for your answer!

Looks like that it should help.

But! Got another problem during trying this.

We installed this plugin, but when I try

project = DXDEV and issue in wildcardMatch("Component Version[Short text]", "*rc.5")

I receive an error:

Unable to find JQL function 'wildcardMatch(Component Version[Short text], *rc.5)

Any ideas how to fix that? 

Daniel Turczanski - JQL Search Extensions
Atlassian Partner
December 22, 2021

Hi @Andrey Ponomarenko 

Some functions are only available in our screen. Go to Apps->JQL Search Extensions->Extended Search and run your query there.

Have a look at documentation here.

It's best if you use the support channel to get a quick response from us: https://jqlsearchextensions.atlassian.net/servicedesk/customer/portal/2

Thanks!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events