How to create query with multiple condition
![](http://jazz.net/_images/myphoto/dd92288c9adad6ebf3e9bf9c3c295d7f.jpg)
Hi,
One answer
![](http://jazz.net/_images/myphoto/dd92288c9adad6ebf3e9bf9c3c295d7f.jpg)
Hi,
please find the information on how to create such queries in the documentation: https://www.ibm.com/support/knowledgecenter/SSYMRC_6.0.5/com.ibm.team.workitem.doc/topics/t_queries_creating_web.html
or explicitely in this video: https://www.youtube.com/watch?v=dFcvSL8fn7A
The logic behind your query would be:
Node (OR) --> [Node (AND) Type=Task,State=New,createTime < 2 day] , --> [Node (AND) Type=Defect, State=New, createTime < 1 day]
If this helps to answer the question please mark it as accepted.
- Arne
Comments
![](http://jazz.net/_images/myphoto/dd92288c9adad6ebf3e9bf9c3c295d7f.jpg)
Hi Arne,
![](http://jazz.net/_images/myphoto/e5e63d5878217b64611c1df9401b7cd3.jpg)
This is exactly the situation why it does not make sense to answer questions that don't provide the minimal information needed. The question seems to be around work item queries (just best guess because the question is so unspecific). Someone answers and the comment points to reporting now (maybe).
Please read How should I ask a question in the Forum if I want to receive useful answers? and fix your question.