Predefined query values for Work Item and Work Item List attributes
One answer
If you ask about using algorithms to
- Provide a limited set of choices (so called value set)
- Sett the value (so called calculated value or default value)
my answer would be using Java https://rsjazz.wordpress.com/2013/06/26/attribute-customization-java-based-value-providers-conditions-and-validators/
Does JavaScript work?
Item List attributes (workitemList, teamareaList,...): I have never been able to write a JavaScript that would be able to provide value sets or set lit type attributes.
Item attributes (work item, project are, contributor etc.): If you can get the UUID of the object, you can return that in JavaScript it should work. I did this for attributes of type contributor.
Keep in mind that I am terrible with JavaScript.