Forums

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

JQL two components for match

Lombaerts Pierre
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!
August 30, 2023

Hi,

In my structure we have some team and this team was filter with the components. I need the create a filter to view the ticket with two component.

for example :

We have team toto and team bobo i need the create a filter to view Only ticket with "components" contains toto et bobo, I dont need to see ticket if contain only toto or bobo

Can you help me ?

Thanks

2 answers

1 vote
Sreenivasaraju P
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.
August 30, 2023

Hi @Lombaerts Pierre ,

 

Please try below query:

project = PROJECTNAME AND component = toto  AND component = bobo

1 vote
Stepan Kholodov _Tempo_
Community Champion
August 30, 2023

Hello @Lombaerts Pierre 

You would need to create a standalone filter for both conditions at the same time with a JQL query like this: component = toto and component = bobo
Once this filter is applied to your structure - either as a Filter generator or as a Filter transformation - only issues that have components will remain.

And if the names of components only contain 'toto' and 'bobo', e.g. there can be more letters and symbols in each component name, then filtering can be done only with a formula and the Attribute filter.

Best regards,
Stepan Kholodov
Tempo

Suggest an answer

Log in or Sign up to answer