Forums

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

how to do wild card match

Richard Gladstone
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 24, 2022

 

component values: process/process1name, process/process2name, service/service1name, service/service2name

What is the Query to get the count of components = process* and service*

With the above component values, expected counts for process* = 2 and service*=2

1 answer

0 votes
Fabio Racobaldo _Catworkx_
Community Champion
February 26, 2022

Hi @Richard Gladstone ,

welcome to the Atlassian community!

Wild card searching is not supported by default for components. You can try using componentMatches() JQL function provided by https://marketplace.atlassian.com/apps/1218367/jql-booster-pack?hosting=server&tab=overview

Examples:

• Find issues in components that their name start with 'Database':

component IN componentMatches("Database.*")

• Find issues in components that their name contais 'screen':

component IN componentMatches(".*screen.*")

• Find issues in components that their name end with 'Core':

component IN componentMatches(".*Core")
Hope this helps,
Fabio

Suggest an answer

Log in or Sign up to answer