Forums

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

JQL filter query for two projects with different conditions to be displayed in one board

Suma Pralhad Kustagi
Contributor
September 8, 2022

Hi,

  We have a requirement to create a query in board as 

project =A and issuetype=Feature

and other one is

Project =B and issuetype=Epic and component= X

 

Can we have a single query which should include the above two mentioned conditions.

 

Regards,

Suma

1 answer

1 accepted

3 votes
Answer accepted
Max Foerster - K15t
Community Champion
September 8, 2022

Hi @Suma Pralhad Kustagi ,

Short answer: Yes, you can! JQL offers an OR-operator and you can make use of parentheses.

(project = A AND type = Feature) OR (project = B AND type = Epic AND component = X)

You should check out the extensive documentation of JQL and all the available fields, functions, and operators:

Best, Max

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events