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

How to query for work items using Enumeration List Picker

We added a new EnumerationList attribute to a work item, and then in the editor, I have a Picker Enumeration List.

The field is NOT required.  If someone does NOT enter a value, when I show this in the query, it is blank.
However, I haven't found a way to set things and query such that I can say:

give me all work items of this type where this attribute does NOT have a value or where it HAS a value

I have tried to set the Default and Unassigned literal, but the field is still blank (the default value is not used it seems). Also in a query, I've tried to query for work items where this "exists", but even those that are "blank" show up the query where I say that it "exists".

Can someone help on this?
Susan

0 votes



One answer

Permanent link
Currently there is no Query condition to check if the enumeration value is set or not.
Without that straight forward option the work around would be to select all the enum options with "is" condition.

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
× 6,117

Question asked: Apr 26 '13, 9:50 a.m.

Question was seen: 5,004 times

Last updated: Apr 30 '13, 4:02 a.m.

Confirmation Cancel Confirm