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

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

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.

0 votes



One answer

Permanent link

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

0 votes

Comments

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 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
× 6,160

Question asked: Oct 22 '13, 1:33 p.m.

Question was seen: 5,510 times

Last updated: Oct 23 '13, 3:04 a.m.

Confirmation Cancel Confirm