How can I do a fuzzy search on the built-in custom URL field

Hi there...hoping someone can share some tips or insight.

I'm unable to search with the 'like' ~ operator for a URL type field.  The URL validation works but I'd like to search for all bugs related to specific countries, where each country has set of URLs across various environments like development, test, staging, and production.  

For example: I want to see all bugs reported for France where the URL is like "http*fr*".

Everything I've read indicates this isn't possible.  Only =, !=, in, not in, is, is not, are valid operators.  But I'm hoping there is a creative workaround or way to change the URL custom field type without losing the content already entered.  Note - I'm not a developer and am unfamiliar with writing or using things like Script Runner.

1 answer

Hi Michelle,

Since that's not possible in JQL, the first thing I would do is attempt to query the data using the API and search the results.

Barring any additonal advice, another option would be to perform a SQL search, however, it's not recommended to manipulate the db directly as it can lead to issues if something goes awry.  In light of that, here is the JIRA Database Schema.

You can use the JIRA Database Schema to write a SQL query to find the data you need:

  • The jiraissue table holds the issues
  • The customfield table holds a list of the custom fields
  • The individual instances of a custom field are held in the customfieldvalue table and the value is in the stringvalue column.

You can also find the custom field id using the article How to find id for custom field(s)?

Once you have the custom field you or your dba should be able to construct a query to find the issues based on the custom field.

In addition,



Thank you...I will give it a try.

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,139 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