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 data in custom fields (label type)

Hi all, I created a custom field for issues which has the labels format.

I am trying to do a search for a particular label.

Show all tickets which has XXX label. This wouldn't be exact.

 

Example:

For example: Ticket has label ABC1234

 

I want to search for 1234 and see that ticket on the results

 

I tried fieldname IN 1234, that did not work

1 answer

1 accepted

0 votes
Answer accepted
Mikael Sandberg Community Leader Nov 14, 2019

Hi @Felipe,

Welcome to the Atlassian Community.

JQL only allows you to search on whole words, except for fuzzy searches. You would need an app that allows you to do partial searches. We use Scriptrunner which allows me to do a query like this:

issueFunction in issueFieldMatch("project = JRA", labels, "f_*")

There are a couple of apps on the Marketplace that allows you to extend JQL, and I bet they allow partial searches too.

Thank you!

Suggest an answer

Log in or Sign up to answer
TAGS

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