Adding multiple risks in a customize change request work item in RTC
Hi All,
I have created customized change request type work item where i need to put risks tab in the risks tab i need the text input control which can can single or multiple inputs from the user as the risk can be single or multiple related to change request.
Kindly help me out in above requirement.
|
One answer
If you have a one-to-one relationship between a text input and another attribute, and you want to hide the text input when the other attribute is empty, you can try this approach - set the text input presentation as "Hide if Empty" and add a Calculated Value script to it so that when a value is set for the other attribute, something is added to the text input to make it not empty (and not hidden any more).
Comments
Sajjad Ali Khan
commented Aug 12 '15, 3:08 a.m.
Donald Nong can you please elaborate more ? and do you mean Script Based Calculated Value by Calculated Value Script ? if yes then what i will be writing in that script ?
Donald Nong
commented Aug 13 '15, 12:08 a.m.
Yes I meant the Script Based Calculated Value. In the script, you would check the corresponding attribute - if it has been assigned a value, the script returns a string; otherwise the script returns an empty string. See below articles for more details about how to write the script.
|
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.
Comments
I don't think it makes sense. If you have multiple text inputs, how can you tell which relates to the linked Risk work item?
Donald Nong
I have a different attribute related to each risk, secondly im not talking about Risk work item i m talking about Change Request work item where im adding a tab called risk