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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Quick filter for multiple Components

I'd like to configure a quick filter to show all issues related to any of several different components. For instance the components are named like AB1, AB2, AB3, CD1, CD2, CD3, EF1, EF2, EF3, etc. Can i write a JQL "OR-statement" that includes all components that have AB or CD or EF in their names or do I have to list all components i full name?

2 answers

2 accepted

1 vote
Answer accepted

if you want to do it without using any plugins then yes, you have to list all the components you want to have (component field doesnt support ~ operator)

but if you have let's say scriptrunner, it has a componentMatch JQL in their arsenal, which can search by regEx. guess other plugins might have something similar, just have to look for it

Thanks. I'll check that.

1 vote
Answer accepted

Hello @Fredrik Ugander 

Unfortunately the component field do not supporte the "~" operator, so you need to list all fullname of you component in a "list" like this :

component in (mycomponent1, mycomponent2...)


Hope this helps 

Thanks. Yes indeed. I'll do it that way unless we don't have the plugins referred above.

This assumes that a component field will only ever have a single component value.

You might have an issue that contains two components.  Both 

mycomponent1 and mycomponent2 in the components field.

The above does not catch that.

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you