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

How to query 2 different type

Highlighted
Level 7

How to query 2 different type

I need to query 2 different type , such as type = Project and type = Incident , but both are not interrelate to each other. How can i do this, Based on this 2 type i need to create a report is it possible?

Tags (1)
1 REPLY 1

Re: How to query 2 different type

This is definitely possible.You can add more than one type to the Type field filter in the query. You can add any additional field filters as well.

 

For example, the following query will return all Projects or Work Items.

query_types.PNG

 

The following query will return all Projects with Product Manager=product_manager, and all Work Items with Task Phase = Open:

query_different_fields.png


For a report, choose the query that returns the items you want to report on.