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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,553,443
Community Members
 
Community Events
184
Community Groups

Is it possible to use a wildcard for JQL Queries in Jira Server

CMM_IT
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 15, 2023

I have an on-going sequence of test cycles and I want to write a query with a wildcard to capture any bugs in the test cycles without having to list the full name of each label.

Below is an attempt to use a wildcard for label TesE2E_CycleX, where X is one to many and will continue to increase:

Query:

project = pp AND (issuetype = bug) AND labels in (TestE2E_Cycle"*") AND type = bug AND status not in (canceled, done, completed)
AND priority = blocker

Note, the query above produces the following "Error in the JQL Query: Expecting ',' or ')' but got '*'. (line 1, character 68)"

 

The query below is currently in place and is inevitably getting larger and larger:

project = PP AND (issuetype = Bug AND labels = TestE2E_Cycle1 OR labels = TestE2E_Cycle2 OR labels = Test_E2E_Cycle3 OR labels = TestE2E_Cycle4 OR labels = TestE2E_Cycle5 OR labels = TestE2E_Cycle6 OR labels = TestE2E_Cycle7 OR labels = TestE2E_Cycle8 OR labels = TestE2E_Cycle9 OR labels = TestE2E_Cycle10 OR labels = TestE2E_Cycle11 OR labels = TestE2E_Cycle12 OR labels = TestE2E_Cycle13 OR labels = TestE2E_Cycle14 OR labels = TestE2E_Cycle15 OR labels = TestE2E_Cycle16 OR labels = TestE2E_Cycle17 OR labels = TestE2E_Cycle18 OR labels = TestE2E_Cycle19 OR labels = TestE2E_Cycle20) AND type = Bug AND status != CANCELED AND Status != Done AND Status != Completed

1 answer

0 votes
Dan Breyen
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 16, 2023

Hi welcome!  Saw this Support article article which talks about JQL wildcards: JQL Search Syntax 

It talks about using * for wildcard searches.

Hope that helps.

CMM_IT
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 18, 2023

Thanks for the response, however, wildcard is still now working in JQL Query; so unfortunately there is no progress.

The environment I have is Jira Server not Cloud - so does this impact functionality?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events