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

Set Values for enumeration list programatically

 Hi there,

I was wondering if I could set one or multiple values for a custom enumeration list based on special conditions. 

Is this possible?

Regards,
Georges

0 votes



3 answers

Permanent link
Yes, it is possible. 

0 votes

Comments

 Any syntax?

You need to define how you want to set the value. Basically it's possible to do using java extensions or JS scripts.

 Well, my client has an enumeration list in form of checkboxes, and he needs them to check/uncheck depending on other attributes. Could this be done in JS?


Permanent link
Why dont you use dependent enumerations?

0 votes

Comments

Dependent enumerations only hide enumeration values depending on other enumerations. My client wants to check/uncheck the checklist depending on another enumeration

 Any ideas how to?


Permanent link
If you want a useful answer, consider to write a question that contains enough information about what you want to do and why you want to.

As long as there is no good description of the use case and its background, look at https://rsjazz.wordpress.com/2012/08/20/manipulationg-work-item-enumeration-values/

For enumeration list attributes, you have to set the attribute value with a Java List containing the literals.
This can be used in Java based calculated values, Follow up actions and in other automation.

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,940

Question asked: Oct 22 '15, 11:06 a.m.

Question was seen: 2,798 times

Last updated: Nov 20 '15, 2:46 a.m.

Confirmation Cancel Confirm