It's all about the answers!

Ask a question

Creating queries for multi-select lists


Sean Perry (1643) | asked Apr 15 '09, 2:37 p.m.
How do you do this?

Thanks

4 answers



permanent link
Christophe Elek (2.9k13021) | answered Apr 15 '09, 4:35 p.m.
JAZZ DEVELOPER
Hey Perry
What is a 'multi select list' ?
Could you elaborate as you what you would like to see ? :)
thx

permanent link
Sean Perry (1643) | answered Apr 15 '09, 4:53 p.m.
Hey Perry
What is a 'multi select list' ?
Could you elaborate as you what you would like to see ? :)
thx


You can customize work items to have fields that are multi-select lists. These are like enumeration fields except you can select more than one enum from the enumeration. You implement them as a string attribute with an additional property to identify the enumeration to use. I would like to create a query that can see if one or more of the fields have been selected.

permanent link
Christophe Elek (2.9k13021) | answered Apr 15 '09, 5:46 p.m.
JAZZ DEVELOPER
Ahh, I see, I may not have your answer but basically we have a

work item -> Attribute {item1, item2, item3}
The user select item1 and item3
and we want a query to say: select all work item where attribute.item1 is selected

permanent link
Sean Perry (1643) | answered Apr 15 '09, 10:40 p.m.
What do you do if the items don't follow the regular identifier pattern? For example, if we have:

enumeration: Cards { "Ace of spades", "Queen of Hearts" }

and the type attribute called hand of type string. What would the query look like?

Your answer


Register or 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.