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

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.

0 votes

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



One answer

Permanent link
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).

0 votes

Comments

 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 ?

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.
https://jazz.net/library/article/1003
https://jazz.net/library/article/1360
https://jazz.net/wiki/bin/view/Main/AttributeCustomization

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,520
× 1,702

Question asked: Aug 09 '15, 6:37 a.m.

Question was seen: 3,260 times

Last updated: Aug 13 '15, 12:08 a.m.

Confirmation Cancel Confirm