How to use wildcards with components in my JQL ?

Suchika Singh February 26, 2017

 JQL for my filter is:

project = test and component ~ "Api*"

This does not work . Is there any other way to use it? Please help as grouping my bugs and creating filters has become difficult. 

Thanks!

3 answers

3 votes
Jack Nolddor _Sweet Bananas_ December 17, 2017

Hi ;)
You can use a FREE app called JQL Booster Pack and use the componentMatches() JQL function to get the requested functionality


------

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")
Mateusz Przybyłek January 9, 2020

It is not free.

Jack Nolddor _Sweet Bananas_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
February 2, 2021

It was at the time I wrote my comment ...

2 votes
Soham Mannem October 23, 2020

The following works for me:

component IN componentMatch("Api*")

Craig Thayer October 27, 2020

Thanks! This works well.

Like Aniruddha Sarwate likes this
Piotr Janik February 2, 2021

I get

Unable to find JQL function 'componentMatch()'.

What plug-in did you use?

0 votes
Jobin Kuruvilla [Adaptavist]
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 27, 2017

Wild card searching is not supported by default for components. You will have to use a plugin like JQL Tricks

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events