It's all about the answers!

Ask a question

How to populate dynamic values in Attribute of type Iteration based on an enumeration value ?


Nilesh Lale (334) | asked Oct 22 '13, 1:33 p.m.

How to populate dynamic values in Attribute(Test Cycle) of type Iteration based on an enumeration value ?
eg : We have two attributes Test Phase and Test Cycle. When we select the value in Test Phase as "Conversion Test" then the Test Cycle should only show corresponding values as "Mock 1 ", "Mock 2" in the drop down list for selection.

One answer



permanent link
Kot T. (1.5k11219) | answered Oct 22 '13, 6:12 p.m.
JAZZ DEVELOPER

This looks like something that can be achieved by using script-based value set provider. The following link provides information about WI attribute customization:

https://jazz.net/wiki/bin/view/Main/AttributeCustomization#Script_based_calculated_values


Comments
Ralph Schoon commented Oct 23 '13, 3:03 a.m. | edited Oct 23 '13, 3:04 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Please note that I have experienced that some attribute presentations are not working with value providers (regardless if they are written in JavaScript or Java).

Please be also aware that JavaScript is very limited for complex items such as iterations. You will likely have to provide the UUID of objects like iterations if you use JavaScript. See https://jazz.net/library/article/1093 Lab5 for limitations and more info about JavaScript.

See http://rsjazz.wordpress.com/2013/06/26/attribute-customization-java-based-value-providers-conditions-and-validators/ for how to use Java to create value set provider.

You can also try

Your answer


Register or 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.