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?
Hello @Johanna Zetterberg
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.