Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL filter with 'contains' operator, but not retroactive?

Ruben Tura
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!
February 20, 2023

Hello,
I noticed that whenever I run a search using the JQL field ~ "string", Jira returns all the issues whose field contains said string, OR at some point in their history contained said string, whilst I would like to be able to only search for issues that currently contain the string.

 

For example, if I have:

ISS-1 where field = "sunny day"

ISS-2 where field was "rainy day" but I changed it to "rainy week"

 

I would like the search field ~ "day" to return only ISS-1, but it also returns ISS-2.

1 answer

0 votes
mauricio.groth
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.
February 23, 2023

Hi @Ruben Tura

I’m Maurício, a support engineer at Digital Toucan and I’m here to help you.

In the app where my team works, JQL Search Extensions for Jira, you can use this query to find all your issues whose summary contains "day". This function works with custom fields too, you only have to change the "summary" for the field you want to use.

issue in wildcardMatch("summary", "*day")

Please contact our support if you have any other questions about this query.

We’ll be happy to help you!
Best regards,
Maurício

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events