It's all about the answers!

Ask a question

Displaying an average of the values contained in othe custom attributes in RTC 3.0.1.3


Simon Mayell (2677) | asked Mar 27 '13, 7:39 a.m.
edited Mar 27 '13, 6:36 p.m. by Ralph Schoon (62.3k33643)
I have 5 custom enumerations that allows users to select values from 0 - 100% in 10% increments.

I would like to take an average of the values that are inputted in these 5 other attributes and display them in another attribute. Is this possible?

One answer



permanent link
Ralph Schoon (62.3k33643) | answered Mar 27 '13, 7:51 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Simon, if it is calculating only across the attributes of one work item, you can use a Java Script Based calculated value. https://jazz.net/library/article/1093 Lab 5 shows an example of a calculated value that is comparable. You would have to get the enumeration label or literal, associate/convert that to a number, for each attribute, convert that to a number, do the math and return it to the new attribute.

Your answer


Register or to post your answer.