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

Script for dependent enumeration

We have two attributes Request Type and Defect Type, We have few values
for the both enumerations. Based on the selection of Request type user
need to have choice of value for Defect Type. If Request Type is
"Defect" then user should be able to select any of the available values
from "Defect Type" dropdown, if Request Type is "Enhancement" then
"Defect Type" should be autopopuate to "N/A" and should be read-only.

0 votes



One answer

Permanent link

Hi Shradha,

You would need to create a Dependent Enumeration between
   Request Type and Defect Type
with their literals mapped as in :
   Defect literal from Request Type mapped to all but N/A in Defect Type
   Enhancement literal from Request Type mapped to only N/A

and apply a Script based Condition on Defect Type.
The condition will look for if the value in Defect Type is N/A and return true.

Hope this helps



0 votes

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
× 10,938

Question asked: Feb 16 '17, 6:01 a.m.

Question was seen: 1,966 times

Last updated: Feb 16 '17, 8:42 p.m.

Confirmation Cancel Confirm