Finding a substring in issue description

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 :-(

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 ...

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

0 vote
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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

59 views 0 5
Read article

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