Forums

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

How do we do a fuzzy (aka wildcard) search on a string function parameter?

Konrad.Witte October 18, 2023

This page shares helpful functions for searching checklist items by string name.  

Over time, the exact wording of checklist items can change slightly, breaking any JQL which use the exact search.  

for example, item name may have been:

"Definition of Done" = uncheckedItem("Peer Review by Compliance Team, Architect, and Program Manager")

but at some point in the checklist template changed to:

"Definition of Done" = uncheckedItem("Peer Review by Compliance Team, Architect, CEO, and Program Manager")

 So sometimes what we really need is a wildcard or fuzzy search, e.g.:

"Definition of Done" = uncheckedItem("Peer Review*")

 

Is there any way to do this?  

2 answers

1 accepted

1 vote
Answer accepted
Konrad.Witte October 18, 2023

This solution, searching headings, will work just fine:

 Is it possible to search for checklist items which belong to a header? 

0 votes
Maxime Lefebvre _Okapya_
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.
October 18, 2023

Hi @Konrad.Witte

I'm a developer of the Checklist for Jira App and can help you with that.

First thing, the link your provided is from old documentation of version 4, you can find the up to date documentation here for version 7.

We support searching the whole checklist for keywords using this query format:

"Definition of Done" ~ "Peer Review"

That would find any checklist where the items contain either "Peer" or "Review" words.

Unfortunately, we do not support searching a partial item name with other search terms (like searching item by name and unchecked box). The uncheckedItem function or more recent itemSearch function can only search an item by its full name.

What I suggest you to do is to create multiple search queries for every item name you need, example:

"Definition of Done" = uncheckedItem("Peer Review by Compliance Team, Architect, and Program Manager") OR "Definition of Done" = uncheckedItem("Peer Review by Compliance Team, Architect, CEO, and Program Manager")

Let me know if that helps!

Kind regards,
Maxime

Suggest an answer

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

Atlassian Community Events