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

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?? 

0 votes


Accepted answer

Permanent link

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!!

Rob Olsen selected this answer as the correct answer

1 vote

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! 

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
× 12,020

Question asked: May 26 '15, 11:21 p.m.

Question was seen: 2,307 times

Last updated: May 27 '15, 12:17 a.m.

Confirmation Cancel Confirm