Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Searching for parts of a URL in JIRA is basically broken?

If I have a ticket with a few urls I feel like searching for "security" should bring back issues, it doesn't work at all.  I get word stems is a problem, but make an exception for a common case.   This is a pretty fabulously broken bit of JIRA "search"

Issue1

Description: http://redhat/security/bad

Issue2

http://redhat/security/something


Issue3

http://debian/security/something

1 answer

0 votes
Andy Heinzer Atlassian Team Feb 21, 2018

Jira's JQL can't perform searches for fragments of words.  Instead Jira has to search for whole words.  This is a known limitation explained in https://confluence.atlassian.com/jiracoreserver073/search-syntax-for-text-fields-861257223.html#Searchsyntaxfortextfields-Wholewordsonly

In this case, since the word 'security' is being encapsulated between other characters (and not spaces), Jira won't be able to separate this specific word in that URL for the purpose of searching via native JQL.  Instead when Jira is indexing text like this the entire URL is treated as a single word.

However I think there might be a way to get around this with the use of a plugin for Jira.  For example, I believe that the Scriptrunner plugin will allow you to use regex searches of specific issue fields in Jira per https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html#_regular_expressions

If you had this plugin with Jira, I believe you could then do an advanced search in Jira such as

issueFunction in issueFieldMatch("", "description", "security")

which I believe will then be able to help find issues that contain that specific substring of characters in their descriptions.

Of course there might exist other plugins in Marketplace that could help here as well.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

3,881 views 11 5
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you