Quick search unable to find issue keys with underscores

Issue keys in pre-version 5.0 were searchable and would link directly to the issue when typed in the quick search.

This functionality has broken with projects that have underscores.

Still works for issues with projects that do not have underscores.

2 answers

1 accepted

1 vote
Accepted answer

You need to ensure that the Project Key Pattern (jira.projectkey.pattern) is configured in the Administration » General Configuration » Advanced to allow underscore in addition to the default two or more uppercase alphabetical characters - See 'Configuring Project Keys'.

For example, '([A-Z0-9_][A-Z0-9_]+)' should allow you to both use and search for Project Keys using underscore and numbers (e.g. 'MY_2PROJ-1').

This was the case and adding the underscore to the Project Key Pattern fixed the issue.

Thanks to both of you!

You are welcome! :)

Hi Steven,

JIRA by default doesn't accept underscores as a project key. Since this is the case, may I know what is the current project key pattern configured, in the Advanced section of General Configuration? Did you made any changes to the project key pattern recently, and if yes, can you kindly try to switch the pattern to include the underscores then see if issue keys with underscore is searchable again from the Quick Search?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,115 views 4 9
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