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
|
Accepted answer
Ralph Schoon (63.5k●3●36●46)
| answered Apr 21 '22, 10:27 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Apr 21 '22, 10:27 a.m. This is called a dependent enumeration
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
|
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.