Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes



2 answers

Permanent link
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

0 votes


Permanent link
Got it, thanks.

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

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Nov 14 '08, 4:18 a.m.

Question was seen: 3,917 times

Last updated: Nov 14 '08, 4:18 a.m.

Confirmation Cancel Confirm