Welcome to the Jazz Community Forum
Problem with OR in a query

Hi, I have two workitems, WI 14 is a parent of WI 15. I want a query to
find both so I wrote an OR query (any can match) with two conditions
within it:
Parent > Id is (and specified the id)
Id is (and specified the same id)
I thought this would show both WI 14 and 15 in the results, but it only
shows WI 15. It makes no difference if I swap the two conditions over in
the GUI.
Is there a bug here, or is understanding about how queries work, wrong?
Many thanks,
Jeremy
find both so I wrote an OR query (any can match) with two conditions
within it:
Parent > Id is (and specified the id)
Id is (and specified the same id)
I thought this would show both WI 14 and 15 in the results, but it only
shows WI 15. It makes no difference if I swap the two conditions over in
the GUI.
Is there a bug here, or is understanding about how queries work, wrong?
Many thanks,
Jeremy
2 answers

Parent > Id is (and specified the id)
Id is (and specified the same id)
I thought this would show both WI 14 and 15 in the results, but it only
shows WI 15. It makes no difference if I swap the two conditions over
in the GUI.
Is there a bug here, or is understanding about how queries work, wrong?
Hi Jeremy.
Yes, this is a bug: You are seeing
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/61361
Reagrds,
Patrick
Jazz
Work Item Team

Got it, thanks.
Jeremy
On 14/11/2008 10:36, Patrick Streule wrote:
Jeremy
On 14/11/2008 10:36, Patrick Streule wrote:
Parent > Id is (and specified the id)
Id is (and specified the same id)
I thought this would show both WI 14 and 15 in the results, but it
only shows WI 15. It makes no difference if I swap the two conditions
over in the GUI.
Is there a bug here, or is understanding about how queries work, wrong?
Hi Jeremy.
Yes, this is a bug: You are seeing
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/61361
Reagrds,
Patrick
Jazz
Work Item Team