Finding a substring in issue description

Dieter Community Champion Jun 07, 2012

Hi all,

In one support project we have URLs referencing tickets in other systems that look like this

contained in the issue description. Users would like to search for the ticket id 123456 but we haven't found anything that works.

i have tried so far:

description ~ 123456 => no result

description ~ *123456 => invalid

description ~ 123456* => no result

Anyone has a working query ?

I know it would be much better to store the number in a custom field but this is not a solution that helps right now.

2 answers

1 accepted

Hi Dieter,

There are some limitations to the JIRA text searches (from the docs) :

Whole words only

JIRA cannot search for issues containing parts of words but on whole words only. The exception to this are words which are stemmed.

This limitation can also be overcome using fuzzy searches.

More information:

So, going for a custom field (or label) makes more sence for this problem.


yeah, fuzzy search and wildcard are not allowed at the beginning of a word.
So you can't use it for your usecase I'm afraid.

Only option, as far as I can see, are custom fields :-(

Dieter Community Champion Jun 07, 2012

Hi Stefan,

Thanks for the hint about the restriction. Didn't read the document until the end ;-) Also didn't think of labeling the issue.

I tried a fuzzy search now using

description ~ "123456~"

but this also didn't return anything. I guess i'm stuck here ...

Dieter Community Champion Jun 07, 2012

ok, will wait for final statement from Atlassian support and post this here

0 votes
Thomas Schlegel Community Champion Jun 07, 2012

Hi Dieter,

I think, searching with "~" works only, if the word begins with the searched term.

Best regards


Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,755 views 11 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot