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

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

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

280 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