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

Looking for help with wildcards in the Labels field please.

Edited

Hi everyone,

Looking for help with the correct syntax on using a wildcard in the Label field.
JIRA version: 6.2.2

I have close to fifty(50) unique labels I'm using to categorize JIRA tickets based on specific tasks.  The nomenclature is ES_TaskName.  Here are examples of some of my (50+) labels:
ES_APPLICATIONS
ES_MOBILE_APPS
ES_LOGIN
ES_NAVIGATION
ES_REPORTING
ES_SERVICE
ES_SUPPORT

This is part of my JQL but includes close to 50 labels so the list is long.
AND labels = ES_APPLICATIONS
OR labels = ES_MOBILE_APPS
OR labels = ES_LOGIN
OR labels = ES_NAVIGATION
OR labels = ES_REPORTING
OR labels = ES_SERVICE
OR labels = ES_SUPPORT

The issue I'm experiencing is my query is truncating over half of my "OR labels = ES_TaskName" causing inaccurate results when running the query.  I am unable to find documentation stating a limit to query length but the symptoms suggest it's a length issue.  As a result, I'm trying to us a wildcard like [label "ES_"] but every wildcard I've tried [label *ES_*] , [label ~ "ES"] , [label ~ ES_"] , [label = "ES_"] , ["may contain"]  does not work.

Any help is much appreciated.

Thanks,
Rnole

 

1 answer

0 votes

Hi,

This is possible with third party add-ons.  Take a look at the post titled How to search for labels with a wildcard as well as the post titled How to use wildcards for label field for more information.

In addition, please vote on the Suggestion titled All text field types should support wildcard searching in JQL and Search for Labels using wildcards.  Add your use case to the comments to add impact to the issues.

Cheers,

Branden

Thanks Branden.  Really appreciate this and I'll look at your suggestions.

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