How do I automatically calculate a value for an attribute?
![]()
I am using RTC for a Risk log.
I currently have 3 risk attributes (impact, cost and time) which are scored 1-5 for severity and an attribute for the likelihood that the risk will occur (again scored 1-5) How can I create an attribute which will automatically provide an overall score? Ideally this would be: the average of the 3 risk attributes multiplied by the likelihood score: ( (impact value + cost value + time value)/3 )*likelihood value. Thanks in advance. James |
2 answers
![]()
Hi James,
have you explored https://jazz.net/wiki/bin/view/Main/AttributeCustomization#Script_based_calculated_values there are a few script samples which calculate and return a value to the applied attribute based on certain other attributes. These other attributes are referred to in the dependent attributes section, so any change in their value results in recalculations. As i see, you have 4 enumeration attributes and they decide the value on the overall score attribute. So, you would write a Calculated Value script and apply it on OverallScore attribute. The script would read the values from other enum attributes and compute/calculate the return value. The other attributes would be selected under the dependent attributes section of OverallScore attribute. You could use the samples in the link above for reading values and computing the results. hope this helps Comments Thanks for the prompt response. I think you're correct in that I need to use calculated values however I can't find this option! I may be missing something obvious but I can't find the options 'configuration data' or 'attribute customization' to start the process.
In the Eclipse Client, right click the project name in the Team Artifacts or Team Hierarchy view, choose open. A new pane with tabs across the bottom will be opened. Go to the Process Configuration tab. Expand Project Configuration, then Configuration Data then Work Items which will reveal other sections, Attribute Customization among them.
are these extensions available for the formal project mgmt template projects?
yes Sam, I do find that configuration area does not change with the template.
Thanks all. I wasn't using Eclipse (first time using RTc) so was working out of my web browser. HAve downloaded eclipse and making some progress now.
showing 5 of 6
show 1 more comments
|
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.
Comments
In my 502 Eclipse client, I go under Configuration Data -> Work Items -> Attribute Customization and then there is the option for "Calculated Values" in the list.