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

Is there a way to make the visible enumerations in a custom field depend on the selection from another custom field?

In CCM/EWM

 We have two custom fields added to a Work Item.  We would like the selection from field #1 to decide the visible options in Field #2.


Example Field #1 options Car, Truck, Van

If Field #1 = Car then Field #2 Options = Red, Green, Blue
If Field #1 = Truck Then Field #2 Options = Brown, White, Pink
If Field #1 = Van Then Field #2 Options = Gray

0 votes


Accepted answer

Permanent link

 This is called a dependent enumeration

https://www.ibm.com/docs/en/elm/7.0.3?topic=sets-configuring-dependent-enumeration-value-set


Note, that this only limits the choices to choose from, it does not impact values that are already set. 
So it  only allows to chose the values in the dependent enumeration, it would not remove a value that is already set and no longer matches the valid choices if you change the attribute value it depends on.

Also note that this customization is attribute based and impacts all attributes with the same ID configured for all work item types in the project area.


Also see https://jazz.net/library/article/1093 as a more comprehensive set of descriptions for options.
A short overview is here: https://jazz.net/library/article/1003

Lee Couch selected this answer as the correct answer

0 votes

Comments

 Exactly what we needed.  

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
× 7,497
× 6,124
× 1,327
× 72

Question asked: Apr 21 '22, 9:52 a.m.

Question was seen: 763 times

Last updated: Apr 22 '22, 4:47 p.m.

Confirmation Cancel Confirm