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.
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: