List Values of an Enumeration Based on Selection of Another Entry
I have long list of values for a single enumeration that I can break up depending on the selection of another field on the "Defect" Work item. For example, I could split my enumeration in to three different enumerations to shorten them up. Based on the select of another field, can I some how validate the selection in that other field and then only display one of the three enumeration lists based on that selection?
Example:
In my "Type" selection attribute, you can select : One, Two or Three
Then in my "Options" attribute, based on what was selected in "Type", I display an enumeration list based on "One" being selected and a different list if "Two" was selected, etc ...
Can this be done??
Accepted answer
This can be achieved using dependent enumerations.
https://jazz.net/library/article/1003#value-sets
https://jazz.net/wiki/bin/view/Main/AttributeCustomization#Dependent_Enumerations_4_0
Hope this helps!!
Comments
This did help, thanks, but I am not able to get it to work correctly.
I have an large enumeration of about 35 items. I used the "Value Set" as described in the document and selected two enumeration lists. From the first enumeration, I selected a value, then clicked in the boxes of the values I wanted displayed in the next enumeration. I did this for the entire list. I then set "Value Set" in the "Attributes" selection. I saved it and then tried it out, but with each selection of the first enumeration, I am still seeing the entire list! I read through the documentation again but cannot see what I am missing. Any ideas?
Ah, I missed the "Dependencies" step. All is good! Thanks for the quick response and answer!